Interface Identifiable


public interface Identifiable
A common superinterface for everything passed to parser processors.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    char
    id()
    Returns a character that helps identify the token, pseudo-token or invokable in question.
  • Method Details

    • id

      char id()
      Returns a character that helps identify the token, pseudo-token or invokable in question.
       Tokens:
       i - IdentifierToken
       0 - NumberToken
       o - OperatorToken
       \0 - NullToken
       CharacterTokens are returned literally
      
       PseudoTokens:
       p - UnaryOperator
       V - UnboundVariable
      
       Nodes:
       c - Constant
       v - Variable
       f - Function
       l - LValueFunction
       s - Sequence
       I - Conditional
       w - While
       F - For
       r - Return
       b - Break (includes continue)
       S - SimpleFor
       C - Switch
       
    • getPosition

      int getPosition()