Class Token<T>

java.lang.Object
net.orbyfied.j8.util.math.expr.Token<T>

public class Token<T> extends Object
  • Constructor Details

  • Method Details

    • located

      public Token<T> located(StringLocation loc)
    • located

      public Token<?> located(String fn, StringReader strReader, int si, int index)
    • getLocation

      public StringLocation getLocation()
    • getType

      public Token.Type getType()
    • getValueUnchecked

      public T getValueUnchecked()
    • hasValue

      public boolean hasValue()
    • setValue

      public Token<T> setValue(T val)
    • unsetValue

      public Token<T> unsetValue()
    • getValue

      public T getValue()
    • getValueAs

      public <V> V getValueAs()
    • getValueAs

      public <V> V getValueAs(Class<V> vClass)
    • toString

      public String toString()
      Overrides:
      toString in class Object