Java Doc for LLkParser.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

All known Subclasses:   antlr.LLkParserNoEx,  antlr.debug.LLkDebuggingParser,  antlr.preprocessor.Preprocessor,  antlr.ANTLRTokdefParser,  antlr.ANTLRParser,  antlr.debug.ParseTreeDebugParser,
LLkParser
public class LLkParser extends Parser (Code)
An LL(k) parser.
See Also:   antlr.Token
See Also:   antlr.TokenBuffer


Field Summary
 intk
    

Constructor Summary
public  LLkParser(int k_)
    
public  LLkParser(ParserSharedInputState state, int k_)
    
public  LLkParser(TokenBuffer tokenBuf, int k_)
    
public  LLkParser(TokenStream lexer, int k_)
    

Method Summary
final public  intLA(int i)
    
final public  TokenLT(int i)
    
final public  voidconsume()
     Consume another token from the input stream.
protected  voidsyntacticPredicateFailed(int id, int nestingLevel)
    
protected  voidsyntacticPredicateStarted(int id, int nestingLevel, int line)
    
protected  voidsyntacticPredicateSucceeded(int id, int nestingLevel)
    
public  voidtraceIn(String rname)
    
public  voidtraceOut(String rname)
    

Field Detail
k
int k(Code)




Constructor Detail
LLkParser
public LLkParser(int k_)(Code)



LLkParser
public LLkParser(ParserSharedInputState state, int k_)(Code)



LLkParser
public LLkParser(TokenBuffer tokenBuf, int k_)(Code)



LLkParser
public LLkParser(TokenStream lexer, int k_)(Code)




Method Detail
LA
final public int LA(int i)(Code)



LT
final public Token LT(int i)(Code)



consume
final public void consume()(Code)
Consume another token from the input stream. Can only write sequentially! If you need 3 tokens ahead, you must consume() 3 times.

Note that it is possible to overwrite tokens that have not been matched. For example, calling consume() 3 times when k=2, means that the first token consumed will be overwritten with the 3rd.




syntacticPredicateFailed
protected void syntacticPredicateFailed(int id, int nestingLevel)(Code)



syntacticPredicateStarted
protected void syntacticPredicateStarted(int id, int nestingLevel, int line)(Code)



syntacticPredicateSucceeded
protected void syntacticPredicateSucceeded(int id, int nestingLevel)(Code)



traceIn
public void traceIn(String rname)(Code)



traceOut
public void traceOut(String rname)(Code)



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.