Class Lexer
java.lang.Object
|
+--Lexer
- All Implemented Interfaces:
- CarFace, LexerFace
- public class Lexer
- extends java.lang.Object
- implements LexerFace
Fields inherited from interface LexerFace |
ACTIVETAGS, AMPERSAND, any, ANY, COLON, COMMA, COMMENT, DIV, ELLIPSIS, ENDOFSOURCE, ENDTAG, EQUALS, GT, IDENTIFIER, LBRACE, LBRACKET, LPARENT, LT, MATCHERMESSAGE, MINUS, NOT, NOTE, PERIOD, PLUS, QUESTION, RBRACE, RBRACKET, RPARENT, SEMICOLON, STAR, STARTTAG, TILDE, TOKENMIN, tokenNames |
Fields inherited from interface CarFace |
BOOLEAN_LITERAL, COLLECTION, DOUBLE_LITERAL, EXTERNAL, grammarNames, INTERNAL, KEYPHRASE, LITERALcapacityIncrement, LITERALinitialCapacity, MARKUP, SERIAL, SESSION, STRING_LITERAL, STRINGVALUE_LITERAL |
Constructor Summary |
Lexer(boolean traceB,
int grammar)
|
Lexer(java.io.FileReader fr,
boolean traceB,
int grammar)
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Lexer
public Lexer(boolean traceB,
int grammar)
throws java.io.IOException
Lexer
public Lexer(java.io.FileReader fr,
boolean traceB,
int grammar)
throws java.io.IOException
t
public void t(java.lang.String s)
lineno
public int lineno()
tokenval
public java.lang.String tokenval()
spaceTrim
public java.lang.String spaceTrim(java.lang.String s)
token
public int token()
throws java.io.IOException,
LexException
Submit bugs to Lindsey