Class Lex

  • All Implemented Interfaces:
    TokenId

    public class Lex
    extends java.lang.Object
    implements TokenId
    • Constructor Detail

      • Lex

        public Lex​(java.lang.String s)
        Constructs a lexical analyzer.
    • Method Detail

      • get

        public int get()
      • lookAhead

        public int lookAhead()
        Looks at the next token.
      • lookAhead

        public int lookAhead​(int i)
      • getString

        public java.lang.String getString()
      • getLong

        public long getLong()
      • getDouble

        public double getDouble()
      • getTextAround

        public java.lang.String getTextAround()