Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
antlr.CharScanner
antlr.actions.cpp.ActionLexer
Field Summary | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
protected RuleBlock | |
protected CodeGenerator | |
protected int | |
(package private) ActionTransInfo |
Fields inherited from class antlr.CharScanner | |
EOF_CHAR , NO_CHAR , _returnToken , caseSensitive , caseSensitiveLiterals , commitToPath , hashString , inputState , literals , saveConsumedInput , tabsize , text , tokenObjectClass , traceDepth |
Fields inherited from interface antlr.actions.cpp.ActionLexerTokenTypes | |
ACTION , ARG , AST_CONSTRUCTOR , AST_CTOR_ELEMENT , AST_ITEM , CHAR , COMMENT , DIGIT , EOF , ESC , ID , ID_ELEMENT , INT , INT_OR_FLOAT , ML_COMMENT , NULL_TREE_LOOKAHEAD , SL_COMMENT , STRING , STUFF , TEXT_ARG , TEXT_ARG_ELEMENT , TEXT_ARG_ID_ELEMENT , TEXT_ITEM , TREE , TREE_ELEMENT , VAR_ASSIGN , WS |
Constructor Summary | |
| |
| |
| |
|
Method Summary | |
void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected boolean |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
Token | |
void |
|
void |
|
void |
|
void |
|
void |
Methods inherited from class antlr.CharScanner | |
LA , append , append , commit , consume , consumeUntil , consumeUntil , getCaseSensitive , getCaseSensitiveLiterals , getColumn , getCommitToPath , getFilename , getInputBuffer , getInputState , getLine , getTabSize , getText , getTokenObject , makeToken , mark , match , match , match , matchNot , matchRange , newline , panic , panic , reportError , reportError , reportWarning , resetText , rewind , setCaseSensitive , setColumn , setCommitToPath , setFilename , setInputState , setLine , setTabSize , setText , setTokenObjectClass , tab , testLiteralsTable , testLiteralsTable , toLower , traceIn , traceIndent , traceOut , uponEOF |
public ActionLexer(InputStream in)
public ActionLexer(Reader in)
public ActionLexer(String s, RuleBlock currentRule, CodeGenerator generator, ActionTransInfo transInfo)
public final void mACTION(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
protected final void mARG(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
protected final void mAST_CONSTRUCTOR(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
protected final void mAST_CTOR_ELEMENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
The arguments of a #[...] constructor are text, token type, or a tree.
protected final void mAST_ITEM(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
protected final void mCHAR(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
protected final void mCOMMENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
protected final void mDIGIT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
protected final void mESC(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
protected final void mID(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
protected final boolean mID_ELEMENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
An ID_ELEMENT can be a func call, array ref, simple var, or AST label ref.
protected final void mINT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
protected final void mINT_OR_FLOAT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
protected final void mML_COMMENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
protected final void mSL_COMMENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
protected final void mSTRING(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
protected final void mSTUFF(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
stuff in between #(...) and #id items Allow the escaping of the # for C preprocessor stuff.
protected final void mTEXT_ARG(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
protected final void mTEXT_ARG_ELEMENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
protected final void mTEXT_ARG_ID_ELEMENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
protected final void mTEXT_ITEM(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
protected final void mTREE(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
protected final void mTREE_ELEMENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
protected final void mVAR_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
protected final void mWS(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException
public Token nextToken() throws TokenStreamException
- Specified by:
- nextToken in interface TokenStream
public void reportError(String s)
Parser error-reporting function can be overridden in subclass
- Overrides:
- reportError in interface CharScanner
public void reportError(RecognitionException e)
Parser error-reporting function can be overridden in subclass
- Overrides:
- reportError in interface CharScanner
public void reportWarning(String s)
Parser warning-reporting function can be overridden in subclass
- Overrides:
- reportWarning in interface CharScanner
public void setLineOffset(int lineOffset)