Java Doc for ANTLRTokdefParser.java in  » IDE-Netbeans » cnd » antlr » 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 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   antlr.MatchExceptionState
      antlr.Parser
         antlr.LLkParser
            antlr.ANTLRTokdefParser

ANTLRTokdefParser
public class ANTLRTokdefParser extends antlr.LLkParser implements ANTLRTokdefParserTokenTypes(Code)
Simple lexer/parser for reading token definition files in support of the import/export vocab option for grammars.


Field Summary
final public static  String[]_tokenNames
    
final public static  BitSet_tokenSet_0
    
final public static  BitSet_tokenSet_1
    

Constructor Summary
protected  ANTLRTokdefParser(TokenBuffer tokenBuf, int k)
    
public  ANTLRTokdefParser(TokenBuffer tokenBuf)
    
protected  ANTLRTokdefParser(TokenStream lexer, int k)
    
public  ANTLRTokdefParser(TokenStream lexer)
    
public  ANTLRTokdefParser(ParserSharedInputState state)
    

Method Summary
final public  voidfile(ImportVocabTokenManager tm)
    
protected  antlr.ToolgetTool()
    
final public  voidline(ImportVocabTokenManager tm)
    
public  voidreportError(String s)
    
public  voidreportError(RecognitionException e)
    
public  voidreportWarning(String s)
    
public  voidsetTool(antlr.Tool tool)
     In order to make it so existing subclasses don't break, we won't require that the antlr.Tool instance be passed as a constructor element.

Field Detail
_tokenNames
final public static String[] _tokenNames(Code)



_tokenSet_0
final public static BitSet _tokenSet_0(Code)



_tokenSet_1
final public static BitSet _tokenSet_1(Code)




Constructor Detail
ANTLRTokdefParser
protected ANTLRTokdefParser(TokenBuffer tokenBuf, int k)(Code)



ANTLRTokdefParser
public ANTLRTokdefParser(TokenBuffer tokenBuf)(Code)



ANTLRTokdefParser
protected ANTLRTokdefParser(TokenStream lexer, int k)(Code)



ANTLRTokdefParser
public ANTLRTokdefParser(TokenStream lexer)(Code)



ANTLRTokdefParser
public ANTLRTokdefParser(ParserSharedInputState state)(Code)




Method Detail
file
final public void file(ImportVocabTokenManager tm) throws RecognitionException, TokenStreamException(Code)



getTool
protected antlr.Tool getTool()(Code)

since:
   2.7.2



line
final public void line(ImportVocabTokenManager tm) throws RecognitionException, TokenStreamException(Code)



reportError
public void reportError(String s)(Code)
Delegates the error message to the tool if any was registered via ANTLRTokdefParser.initTool(antlr.Tool)
since:
   2.7.2



reportError
public void reportError(RecognitionException e)(Code)
Delegates the error message to the tool if any was registered via ANTLRTokdefParser.initTool(antlr.Tool)
since:
   2.7.2



reportWarning
public void reportWarning(String s)(Code)
Delegates the warning message to the tool if any was registered via ANTLRTokdefParser.initTool(antlr.Tool)
since:
   2.7.2



setTool
public void setTool(antlr.Tool tool)(Code)
In order to make it so existing subclasses don't break, we won't require that the antlr.Tool instance be passed as a constructor element. Instead, the antlr.Tool instance should register itself via ANTLRTokdefParser.initTool(antlr.Tool)
throws:
  IllegalStateException - if a tool has already been registered
since:
   2.7.2



Fields inherited from antlr.LLkParser
int k(Code)(Java Doc)

Methods inherited from antlr.LLkParser
final public int LA(int i)(Code)(Java Doc)
final public Token LT(int i)(Code)(Java Doc)
final public void consume()(Code)(Java Doc)
protected void syntacticPredicateFailed(int id, int nestingLevel)(Code)(Java Doc)
protected void syntacticPredicateStarted(int id, int nestingLevel, int line)(Code)(Java Doc)
protected void syntacticPredicateSucceeded(int id, int nestingLevel)(Code)(Java Doc)
public void traceIn(String rname)(Code)(Java Doc)
public void traceOut(String rname)(Code)(Java Doc)

Fields inherited from antlr.Parser
final public static int INITIAL_FOLLOW_STACK_SIZE(Code)(Java Doc)
final public static int MEMO_RULE_FAILED(Code)(Java Doc)
final public static int MEMO_RULE_UNKNOWN(Code)(Java Doc)
protected ASTFactory astFactory(Code)(Java Doc)
protected ParserSharedInputState inputState(Code)(Java Doc)
protected AST returnAST(Code)(Java Doc)
protected Map[] ruleMemo(Code)(Java Doc)
protected String[] tokenNames(Code)(Java Doc)
protected Hashtable tokenTypeToASTClassMap(Code)(Java Doc)
protected int traceDepth(Code)(Java Doc)

Methods inherited from antlr.Parser
abstract public int LA(int i)(Code)(Java Doc)
abstract public Token LT(int i)(Code)(Java Doc)
public void addMessageListener(MessageListener l)(Code)(Java Doc)
public void addParserListener(ParserListener l)(Code)(Java Doc)
public void addParserMatchListener(ParserMatchListener l)(Code)(Java Doc)
public void addParserTokenListener(ParserTokenListener l)(Code)(Java Doc)
public void addSemanticPredicateListener(SemanticPredicateListener l)(Code)(Java Doc)
public void addSyntacticPredicateListener(SyntacticPredicateListener l)(Code)(Java Doc)
public void addTraceListener(TraceListener l)(Code)(Java Doc)
public boolean alreadyParsedRule(int ruleIndex)(Code)(Java Doc)
abstract public void consume()(Code)(Java Doc)
public void consumeUntil(int tokenType)(Code)(Java Doc)
public void consumeUntil(BitSet set)(Code)(Java Doc)
protected void defaultDebuggingSetup(TokenStream lexer, TokenBuffer tokBuf)(Code)(Java Doc)
public AST getAST()(Code)(Java Doc)
public ASTFactory getASTFactory()(Code)(Java Doc)
public String getFilename()(Code)(Java Doc)
public ParserSharedInputState getInputState()(Code)(Java Doc)
public int getRuleMemoization(int ruleIndex, int ruleStartIndex)(Code)(Java Doc)
public String getTokenName(int num)(Code)(Java Doc)
public String[] getTokenNames()(Code)(Java Doc)
public Hashtable getTokenTypeToASTClassMap()(Code)(Java Doc)
public boolean isDebugMode()(Code)(Java Doc)
public int mark()(Code)(Java Doc)
public void match(int t) throws MismatchedTokenException(Code)(Java Doc)
public void match(BitSet b) throws MismatchedTokenException(Code)(Java Doc)
public void matchNot(int t) throws MismatchedTokenException(Code)(Java Doc)
public void memoize(int ruleIndex, int ruleStartIndex)(Code)(Java Doc)
public static void panic()(Code)(Java Doc)
public void recover(RecognitionException ex, BitSet tokenSet)(Code)(Java Doc)
public void removeMessageListener(MessageListener l)(Code)(Java Doc)
public void removeParserListener(ParserListener l)(Code)(Java Doc)
public void removeParserMatchListener(ParserMatchListener l)(Code)(Java Doc)
public void removeParserTokenListener(ParserTokenListener l)(Code)(Java Doc)
public void removeSemanticPredicateListener(SemanticPredicateListener l)(Code)(Java Doc)
public void removeSyntacticPredicateListener(SyntacticPredicateListener l)(Code)(Java Doc)
public void removeTraceListener(TraceListener l)(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 rewind(int pos)(Code)(Java Doc)
public void setASTFactory(ASTFactory f)(Code)(Java Doc)
public void setASTNodeClass(String cl)(Code)(Java Doc)
public void setASTNodeType(String nodeType)(Code)(Java Doc)
public void setDebugMode(boolean debugMode)(Code)(Java Doc)
public void setFilename(String f)(Code)(Java Doc)
public void setIgnoreInvalidDebugCalls(boolean value)(Code)(Java Doc)
public void setInputState(ParserSharedInputState state)(Code)(Java Doc)
public void setTokenBuffer(TokenBuffer t)(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)

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.