Class Token

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String keyWord
      Key word string (if matched)
      java.lang.String looksLike
      If token was not matched then looksLike functionality is trying asses the kind of token
      static int NOT_MATCHED
      Indicator that token was not matched
      int tokenId
      Token identifier
      int tokenLevel
      Token level
      java.lang.String tokenStr
      String token
      int tokenTypeId
      Token type
      double tokenValue
      Token value if number
    • Constructor Summary

      Constructors 
      Constructor Description
      Token()
      Default constructor
    • Method Summary

      Modifier and Type Method Description
      Token clone()
      Token cloning.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • NOT_MATCHED

        public static final int NOT_MATCHED
        Indicator that token was not matched
        See Also:
        Constant Field Values
      • tokenStr

        public java.lang.String tokenStr
        String token
      • keyWord

        public java.lang.String keyWord
        Key word string (if matched)
      • tokenId

        public int tokenId
        Token identifier
      • tokenTypeId

        public int tokenTypeId
        Token type
      • tokenLevel

        public int tokenLevel
        Token level
      • tokenValue

        public double tokenValue
        Token value if number
      • looksLike

        public java.lang.String looksLike
        If token was not matched then looksLike functionality is trying asses the kind of token
    • Constructor Detail

      • Token

        public Token()
        Default constructor
    • Method Detail

      • clone

        public Token clone()
        Token cloning.