Class MapAssignmentStatement

    • Field Detail

      • _mapAccessExpression

        protected MapAccess _mapAccessExpression
        The left-hand-side expression
      • _expression

        protected Expression _expression
        The right-hand-side expression
    • Constructor Detail

      • MapAssignmentStatement

        public MapAssignmentStatement()
    • Method Detail

      • setMapAccessExpression

        public void setMapAccessExpression​(MapAccess lhsExpression)
      • setExpression

        public void setExpression​(Expression expression)
        Parameters:
        expression - The right-hand-side expression of the assignment.
      • execute

        public Object execute()
        Execute the expression. Evaluates the RHS and assigns the resulting value to the symbol referenced by the LHS identifier.
        Specified by:
        execute in interface IStatement
        Overrides:
        execute in class Statement
      • toString

        public String toString()
        Description copied from class: Statement
        Subclasses should return a String representing the parsed statement.
        Specified by:
        toString in class Statement
      • setCompoundStatement

        public void setCompoundStatement​(boolean compoundStatement)
      • isCompoundStatement

        public boolean isCompoundStatement()