Class ImplicitVariableDeclaration

    • Constructor Detail

      • ImplicitVariableDeclaration

        public ImplicitVariableDeclaration​(java.lang.String name,
                                           TypeDescriptor<?> type,
                                           boolean isConstant,
                                           Expression expression)
        Creates a new implicit variable declaration.
        Parameters:
        name - the name of the variable
        type - the type of the variable
        isConstant - whether this variable is a constant
        expression - an expression denoting the initial value (may be null)
    • Method Detail

      • isImplicit

        public boolean isImplicit()
        Description copied from class: VariableDeclaration
        Returns whether this variable declaration is implicit.
        Overrides:
        isImplicit in class VariableDeclaration
        Returns:
        true for implicit, false else