Java Doc for ActionLexer.java in  » IDE-Netbeans » cnd » antlr » actions » java » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » cnd » antlr.actions.java 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   antlr.MatchExceptionState
      antlr.CharScanner
         antlr.actions.java.ActionLexer

ActionLexer
public class ActionLexer extends antlr.CharScanner implements ActionLexerTokenTypes,TokenStream(Code)
Perform the following translations: AST related translations ## -> currentRule_AST #(x,y,z) -> codeGenerator.getASTCreateString(vector-of(x,y,z)) #[x] -> codeGenerator.getASTCreateString(x) #x -> codeGenerator.mapTreeId(x) Inside context of #(...), you can ref (x,y,z), [x], and x as shortcuts. Text related translations $append(x) -> text.append(x) $setText(x) -> text.setLength(_begin); text.append(x) $getText -> new String(text.getBuffer(),_begin,text.length()-_begin) $setToken(x) -> _token = x $setType(x) -> _ttype = x $FOLLOW(r) -> FOLLOW set name for rule r (optional arg) $FIRST(r) -> FIRST set name for rule r (optional arg)


Field Summary
final public static  BitSet_tokenSet_0
    
final public static  BitSet_tokenSet_1
    
final public static  BitSet_tokenSet_10
    
final public static  BitSet_tokenSet_11
    
final public static  BitSet_tokenSet_12
    
final public static  BitSet_tokenSet_13
    
final public static  BitSet_tokenSet_14
    
final public static  BitSet_tokenSet_15
    
final public static  BitSet_tokenSet_16
    
final public static  BitSet_tokenSet_17
    
final public static  BitSet_tokenSet_18
    
final public static  BitSet_tokenSet_19
    
final public static  BitSet_tokenSet_2
    
final public static  BitSet_tokenSet_20
    
final public static  BitSet_tokenSet_21
    
final public static  BitSet_tokenSet_22
    
final public static  BitSet_tokenSet_23
    
final public static  BitSet_tokenSet_24
    
final public static  BitSet_tokenSet_25
    
final public static  BitSet_tokenSet_3
    
final public static  BitSet_tokenSet_4
    
final public static  BitSet_tokenSet_5
    
final public static  BitSet_tokenSet_6
    
final public static  BitSet_tokenSet_7
    
final public static  BitSet_tokenSet_8
    
final public static  BitSet_tokenSet_9
    
protected  RuleBlockcurrentRule
    
protected  CodeGeneratorgenerator
    
protected  intlineOffset
    
 ActionTransInfotransInfo
    

Constructor Summary
public  ActionLexer(String s, RuleBlock currentRule, CodeGenerator generator, ActionTransInfo transInfo)
    
public  ActionLexer(InputStream in)
    
public  ActionLexer(Reader in)
    
public  ActionLexer(InputBuffer ib)
    
public  ActionLexer(LexerSharedInputState state)
    

Method Summary
final public  voidmACTION(boolean _createToken)
    
final protected  voidmARG(boolean _createToken)
    
final protected  voidmAST_CONSTRUCTOR(boolean _createToken)
    
final protected  voidmAST_CTOR_ELEMENT(boolean _createToken)
     The arguments of a #[...] constructor are text, token type, or a tree.
final protected  voidmAST_ITEM(boolean _createToken)
    
final protected  voidmCHAR(boolean _createToken)
    
final protected  voidmCOMMENT(boolean _createToken)
    
final protected  voidmDIGIT(boolean _createToken)
    
final protected  voidmESC(boolean _createToken)
    
final protected  voidmID(boolean _createToken)
    
final protected  booleanmID_ELEMENT(boolean _createToken)
     An ID_ELEMENT can be a func call, array ref, simple var, or AST label ref.
final protected  voidmINT(boolean _createToken)
    
final protected  voidmINT_OR_FLOAT(boolean _createToken)
    
final protected  voidmML_COMMENT(boolean _createToken)
    
final protected  voidmSL_COMMENT(boolean _createToken)
    
final protected  voidmSTRING(boolean _createToken)
    
final protected  voidmSTUFF(boolean _createToken)
    
final protected  voidmTEXT_ARG(boolean _createToken)
    
final protected  voidmTEXT_ARG_ELEMENT(boolean _createToken)
    
final protected  voidmTEXT_ARG_ID_ELEMENT(boolean _createToken)
    
final protected  voidmTEXT_ITEM(boolean _createToken)
    
final protected  voidmTREE(boolean _createToken)
    
final protected  voidmTREE_ELEMENT(boolean _createToken)
    
final protected  voidmVAR_ASSIGN(boolean _createToken)
    
final protected  voidmWS(boolean _createToken)
    
public  TokennextToken()
    
public  voidreportError(RecognitionException e)
    
public  voidreportError(String s)
    
public  voidreportWarning(String s)
    
public  voidsetLineOffset(int lineOffset)
    
public  voidsetTool(Tool tool)
    

Field Detail
_tokenSet_0
final public static BitSet _tokenSet_0(Code)



_tokenSet_1
final public static BitSet _tokenSet_1(Code)



_tokenSet_10
final public static BitSet _tokenSet_10(Code)



_tokenSet_11
final public static BitSet _tokenSet_11(Code)



_tokenSet_12
final public static BitSet _tokenSet_12(Code)



_tokenSet_13
final public static BitSet _tokenSet_13(Code)



_tokenSet_14
final public static BitSet _tokenSet_14(Code)



_tokenSet_15
final public static BitSet _tokenSet_15(Code)



_tokenSet_16
final public static BitSet _tokenSet_16(Code)



_tokenSet_17
final public static BitSet _tokenSet_17(Code)



_tokenSet_18
final public static BitSet _tokenSet_18(Code)



_tokenSet_19
final public static BitSet _tokenSet_19(Code)



_tokenSet_2
final public static BitSet _tokenSet_2(Code)



_tokenSet_20
final public static BitSet _tokenSet_20(Code)



_tokenSet_21
final public static BitSet _tokenSet_21(Code)



_tokenSet_22
final public static BitSet _tokenSet_22(Code)



_tokenSet_23
final public static BitSet _tokenSet_23(Code)



_tokenSet_24
final public static BitSet _tokenSet_24(Code)



_tokenSet_25
final public static BitSet _tokenSet_25(Code)



_tokenSet_3
final public static BitSet _tokenSet_3(Code)



_tokenSet_4
final public static BitSet _tokenSet_4(Code)



_tokenSet_5
final public static BitSet _tokenSet_5(Code)



_tokenSet_6
final public static BitSet _tokenSet_6(Code)



_tokenSet_7
final public static BitSet _tokenSet_7(Code)



_tokenSet_8
final public static BitSet _tokenSet_8(Code)



_tokenSet_9
final public static BitSet _tokenSet_9(Code)



currentRule
protected RuleBlock currentRule(Code)



generator
protected CodeGenerator generator(Code)



lineOffset
protected int lineOffset(Code)



transInfo
ActionTransInfo transInfo(Code)




Constructor Detail
ActionLexer
public ActionLexer(String s, RuleBlock currentRule, CodeGenerator generator, ActionTransInfo transInfo)(Code)



ActionLexer
public ActionLexer(InputStream in)(Code)



ActionLexer
public ActionLexer(Reader in)(Code)



ActionLexer
public ActionLexer(InputBuffer ib)(Code)



ActionLexer
public ActionLexer(LexerSharedInputState state)(Code)




Method Detail
mACTION
final public void mACTION(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException(Code)



mARG
final protected void mARG(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException(Code)



mAST_CONSTRUCTOR
final protected void mAST_CONSTRUCTOR(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException(Code)



mAST_CTOR_ELEMENT
final protected void mAST_CTOR_ELEMENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException(Code)
The arguments of a #[...] constructor are text, token type, or a tree.



mAST_ITEM
final protected void mAST_ITEM(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException(Code)



mCHAR
final protected void mCHAR(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException(Code)



mCOMMENT
final protected void mCOMMENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException(Code)



mDIGIT
final protected void mDIGIT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException(Code)



mESC
final protected void mESC(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException(Code)



mID
final protected void mID(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException(Code)



mID_ELEMENT
final protected boolean mID_ELEMENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException(Code)
An ID_ELEMENT can be a func call, array ref, simple var, or AST label ref.



mINT
final protected void mINT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException(Code)



mINT_OR_FLOAT
final protected void mINT_OR_FLOAT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException(Code)



mML_COMMENT
final protected void mML_COMMENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException(Code)



mSL_COMMENT
final protected void mSL_COMMENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException(Code)



mSTRING
final protected void mSTRING(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException(Code)



mSTUFF
final protected void mSTUFF(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException(Code)



mTEXT_ARG
final protected void mTEXT_ARG(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException(Code)



mTEXT_ARG_ELEMENT
final protected void mTEXT_ARG_ELEMENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException(Code)



mTEXT_ARG_ID_ELEMENT
final protected void mTEXT_ARG_ID_ELEMENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException(Code)



mTEXT_ITEM
final protected void mTEXT_ITEM(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException(Code)



mTREE
final protected void mTREE(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException(Code)



mTREE_ELEMENT
final protected void mTREE_ELEMENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException(Code)



mVAR_ASSIGN
final protected void mVAR_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException(Code)



mWS
final protected void mWS(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException(Code)



nextToken
public Token nextToken() throws TokenStreamException(Code)



reportError
public void reportError(RecognitionException e)(Code)



reportError
public void reportError(String s)(Code)



reportWarning
public void reportWarning(String s)(Code)



setLineOffset
public void setLineOffset(int lineOffset)(Code)



setTool
public void setTool(Tool tool)(Code)



Fields inherited from antlr.CharScanner
final public static char EOF_CHAR(Code)(Java Doc)
protected Token _returnToken(Code)(Java Doc)
protected boolean caseSensitive(Code)(Java Doc)
protected boolean caseSensitiveLiterals(Code)(Java Doc)
protected boolean commitToPath(Code)(Java Doc)
protected ANTLRHashString hashString(Code)(Java Doc)
protected LexerSharedInputState inputState(Code)(Java Doc)
protected Hashtable literals(Code)(Java Doc)
protected boolean saveConsumedInput(Code)(Java Doc)
protected int tabsize(Code)(Java Doc)
protected ANTLRStringBuffer text(Code)(Java Doc)
protected Class tokenObjectClass(Code)(Java Doc)
protected int traceDepth(Code)(Java Doc)

Methods inherited from antlr.CharScanner
public char LA(int i)(Code)(Java Doc)
public void append(char c)(Code)(Java Doc)
public void append(String s)(Code)(Java Doc)
public void consume()(Code)(Java Doc)
public void consumeUntil(int c)(Code)(Java Doc)
public void consumeUntil(BitSet set)(Code)(Java Doc)
protected Token createToken(int type) throws InstantiationException, IllegalAccessException(Code)(Java Doc)
public boolean getCaseSensitive()(Code)(Java Doc)
final public boolean getCaseSensitiveLiterals()(Code)(Java Doc)
public int getColumn()(Code)(Java Doc)
public boolean getCommitToPath()(Code)(Java Doc)
public String getFilename()(Code)(Java Doc)
public InputBuffer getInputBuffer()(Code)(Java Doc)
public LexerSharedInputState getInputState()(Code)(Java Doc)
public int getLine()(Code)(Java Doc)
public int getTabSize()(Code)(Java Doc)
public String getText()(Code)(Java Doc)
public Token getTokenObject()(Code)(Java Doc)
protected Token makeToken(int t)(Code)(Java Doc)
public int mark()(Code)(Java Doc)
public void match(char c) throws MismatchedCharException(Code)(Java Doc)
public void match(BitSet b) throws MismatchedCharException(Code)(Java Doc)
public void match(String s) throws MismatchedCharException(Code)(Java Doc)
public void matchNot(char c) throws MismatchedCharException(Code)(Java Doc)
public void matchRange(char c1, char c2) throws MismatchedCharException(Code)(Java Doc)
public void newline()(Code)(Java Doc)
public void panic()(Code)(Java Doc)
public void panic(String s)(Code)(Java Doc)
public void reportError(RecognitionException ex)(Code)(Java Doc)
public void reportError(String s)(Code)(Java Doc)
public void reportWarning(String s)(Code)(Java Doc)
public void resetText()(Code)(Java Doc)
public void rewind(int pos)(Code)(Java Doc)
public void setCaseSensitive(boolean t)(Code)(Java Doc)
public void setColumn(int c)(Code)(Java Doc)
public void setCommitToPath(boolean commit)(Code)(Java Doc)
public void setFilename(String f)(Code)(Java Doc)
public void setInputState(LexerSharedInputState state)(Code)(Java Doc)
public void setLine(int line)(Code)(Java Doc)
public void setTabSize(int size)(Code)(Java Doc)
public void setText(String s)(Code)(Java Doc)
public void setTokenObjectClass(String cl)(Code)(Java Doc)
public void tab()(Code)(Java Doc)
public int testLiteralsTable(int ttype)(Code)(Java Doc)
public int testLiteralsTable(String text, int ttype)(Code)(Java Doc)
public char toLower(char c)(Code)(Java Doc)
public void traceIn(String rname)(Code)(Java Doc)
public void traceIndent()(Code)(Java Doc)
public void traceOut(String rname)(Code)(Java Doc)
public void uponEOF() throws TokenStreamException(Code)(Java Doc)

Fields inherited from antlr.MatchExceptionState
final public static RecognitionException defaultException(Code)(Java Doc)
public boolean matchError(Code)(Java Doc)
public RecognitionException matchException(Code)(Java Doc)
final protected static boolean throwRecExceptions(Code)(Java Doc)

Methods inherited from antlr.MatchExceptionState
public void resetMatchError()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.