Class IdentifierExpression

  • All Implemented Interfaces:
    Expression

    public final class IdentifierExpression
    extends java.lang.Object
    implements Expression
    The IdentifierExpression class is used to store information about identifier expressions declared during compilation.
    Since:
    1.0
    • Constructor Summary

      Constructors 
      Constructor Description
      IdentifierExpression​(Token identifierToken)
      Constructs an IdentifierExpression object, initialised with the expressions contents.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IdentifierExpression

        public IdentifierExpression​(Token identifierToken)
        Constructs an IdentifierExpression object, initialised with the expressions contents.

        A SourceSpan containing the range of the expression is automatically generated, as well as a LinkedList of its children.

        Parameters:
        identifierToken - The identifier Token