Class Token


  • public final class Token
    extends java.lang.Object
    Author:
    Jezza
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int col  
      static Token EOS  
      int row  
      int type  
      java.lang.String value  
    • Constructor Summary

      Constructors 
      Constructor Description
      Token​(int type, int row, int col, java.lang.String value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • EOS

        public static final Token EOS
      • type

        public final int type
      • row

        public final int row
      • col

        public final int col
      • value

        public final java.lang.String value
    • Constructor Detail

      • Token

        public Token​(int type,
                     int row,
                     int col,
                     java.lang.String value)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object