Token

## Class Token

- java.lang.Object
- - Token.Token

- Direct Known Subclasses:
    AlphabetLetter, Function, NumberLiteral, Operator, Variable, Word

      public abstract class Token
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Token()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | `act(java.util.Stack<Expression> S)`
    `int` | `getArity()`
    `int` | `getPositionInPredicate()`
    `boolean` | `isOperator()`
    `void` | `put(java.util.List<Token> postOrder)`
    `void` | `setArity(int arity)`
    `void` | `setPositionInPredicate(int positionInPredicate)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Token

          public Token()

  - ### Method Detail

    - #### put

          public void put(java.util.List<Token> postOrder)

    - #### act

          public abstract void act(java.util.Stack<Expression> S)
                            throws java.lang.Exception

      Throws:
        `java.lang.Exception`

    - #### isOperator

          public boolean isOperator()

    - #### getPositionInPredicate

          public int getPositionInPredicate()

    - #### getArity

          public int getArity()

    - #### setArity

          public void setArity(int arity)

    - #### setPositionInPredicate

          public void setPositionInPredicate(int positionInPredicate)