Class IdentifierToken

  • All Implemented Interfaces:
    java.io.Serializable

    public class IdentifierToken
    extends Token
    Token representing variables or function.
    Author:
    Richard Morris
    See Also:
    Serialized Form
    • Constructor Detail

      • IdentifierToken

        public IdentifierToken​(java.lang.String source)
    • Method Detail

      • isIdentifier

        public boolean isIdentifier()
        Overrides:
        isIdentifier in class Token
      • isImplicitMulRhs

        public boolean isImplicitMulRhs()
        Whether identifies can appear on the rhs of implicit multiplication '2 x'.
        Overrides:
        isImplicitMulRhs in class Token
        Returns:
        true