Java Doc for ANTLRParser.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
.ANTLRParser
ANTLRParser
public
class ANTLRParser extends
antlr.LLkParser
implements
ANTLRTokenTypes
(Code)
Field Summary
final
public
static
String
[]
_tokenNames
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_2
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
Tool
antlrTool
ANTLRGrammarParseBehavior
behavior
protected
int
blockNesting
Constructor Summary
public
ANTLRParser
(
TokenBuffer
tokenBuf,
ANTLRGrammarParseBehavior
behavior_,
Tool
tool_)
protected
ANTLRParser
(
TokenBuffer
tokenBuf, int k)
public
ANTLRParser
(
TokenBuffer
tokenBuf)
protected
ANTLRParser
(
TokenStream
lexer, int k)
public
ANTLRParser
(
TokenStream
lexer)
public
ANTLRParser
(
ParserSharedInputState
state)
Method Summary
final
public
void
alternative
()
final
public
int
ast_type_spec
()
final
public
void
block
()
final
public
BitSet
charSet
()
final
public
void
classDef
()
final
public
void
ebnf
(
Token
label, boolean not)
final
public
void
element
()
final
public
void
elementNoOptionSpec
()
final
public
void
elementOptionSpec
()
final
public
void
exceptionGroup
()
final
public
void
exceptionHandler
()
final
public
void
exceptionSpec
()
final
public
void
exceptionSpecNoLabel
()
final
public
void
fileOptionsSpec
()
final
public
void
grammar
()
final
public
Token
id
()
final
public
void
lexerOptionsSpec
()
final
public
void
lexerSpec
(
String
doc)
final
public
void
notTerminal
(
Token
label)
final
public
Token
optionValue
()
final
public
void
parserOptionsSpec
()
final
public
void
parserSpec
(
String
doc)
final
public
Token
qualifiedID
()
Match a.b.c.d qualified ids; WILDCARD here is overloaded as id separator; that is, I need a reference to the '.' token.
final
public
void
range
(
Token
label)
public
void
reportError
(
String
s)
public
void
reportError
(
RecognitionException
e)
public
void
reportError
(
RecognitionException
e,
String
s)
public
void
reportWarning
(
String
s)
final
public
void
rootNode
()
final
public
void
rule
()
final
public
void
ruleOptionsSpec
()
final
public
void
rules
()
final
public
BitSet
setBlockElement
()
final
public
void
subruleOptionsSpec
()
final
public
String
superClass
()
final
public
void
terminal
(
Token
label)
final
public
void
throwsSpec
()
final
public
void
tokensSpec
()
final
public
void
tokensSpecOptions
(
Token
t)
final
public
void
tree
()
final
public
void
treeParserOptionsSpec
()
final
public
void
treeParserSpec
(
String
doc)
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)
_tokenSet_10
final
public
static
BitSet
_tokenSet_10
(Code)
_tokenSet_11
final
public
static
BitSet
_tokenSet_11
(Code)
_tokenSet_2
final
public
static
BitSet
_tokenSet_2
(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)
antlrTool
Tool
antlrTool
(Code)
behavior
ANTLRGrammarParseBehavior
behavior
(Code)
blockNesting
protected
int blockNesting
(Code)
Constructor Detail
ANTLRParser
public
ANTLRParser(
TokenBuffer
tokenBuf,
ANTLRGrammarParseBehavior
behavior_,
Tool
tool_)
(Code)
ANTLRParser
protected
ANTLRParser(
TokenBuffer
tokenBuf, int k)
(Code)
ANTLRParser
public
ANTLRParser(
TokenBuffer
tokenBuf)
(Code)
ANTLRParser
protected
ANTLRParser(
TokenStream
lexer, int k)
(Code)
ANTLRParser
public
ANTLRParser(
TokenStream
lexer)
(Code)
ANTLRParser
public
ANTLRParser(
ParserSharedInputState
state)
(Code)
Method Detail
alternative
final
public
void alternative() throws
RecognitionException
,
TokenStreamException
(Code)
ast_type_spec
final
public
int ast_type_spec() throws
RecognitionException
,
TokenStreamException
(Code)
block
final
public
void block() throws
RecognitionException
,
TokenStreamException
(Code)
charSet
final
public
BitSet
charSet() throws
RecognitionException
,
TokenStreamException
(Code)
classDef
final
public
void classDef() throws
RecognitionException
,
TokenStreamException
(Code)
ebnf
final
public
void ebnf(
Token
label, boolean not) throws
RecognitionException
,
TokenStreamException
(Code)
element
final
public
void element() throws
RecognitionException
,
TokenStreamException
(Code)
elementNoOptionSpec
final
public
void elementNoOptionSpec() throws
RecognitionException
,
TokenStreamException
(Code)
elementOptionSpec
final
public
void elementOptionSpec() throws
RecognitionException
,
TokenStreamException
(Code)
exceptionGroup
final
public
void exceptionGroup() throws
RecognitionException
,
TokenStreamException
(Code)
exceptionHandler
final
public
void exceptionHandler() throws
RecognitionException
,
TokenStreamException
(Code)
exceptionSpec
final
public
void exceptionSpec() throws
RecognitionException
,
TokenStreamException
(Code)
exceptionSpecNoLabel
final
public
void exceptionSpecNoLabel() throws
RecognitionException
,
TokenStreamException
(Code)
fileOptionsSpec
final
public
void fileOptionsSpec() throws
RecognitionException
,
TokenStreamException
(Code)
grammar
final
public
void grammar() throws
RecognitionException
,
TokenStreamException
(Code)
id
final
public
Token
id() throws
RecognitionException
,
TokenStreamException
(Code)
lexerOptionsSpec
final
public
void lexerOptionsSpec() throws
RecognitionException
,
TokenStreamException
(Code)
lexerSpec
final
public
void lexerSpec(
String
doc) throws
RecognitionException
,
TokenStreamException
(Code)
notTerminal
final
public
void notTerminal(
Token
label) throws
RecognitionException
,
TokenStreamException
(Code)
optionValue
final
public
Token
optionValue() throws
RecognitionException
,
TokenStreamException
(Code)
parserOptionsSpec
final
public
void parserOptionsSpec() throws
RecognitionException
,
TokenStreamException
(Code)
parserSpec
final
public
void parserSpec(
String
doc) throws
RecognitionException
,
TokenStreamException
(Code)
qualifiedID
final
public
Token
qualifiedID() throws
RecognitionException
,
TokenStreamException
(Code)
Match a.b.c.d qualified ids; WILDCARD here is overloaded as id separator; that is, I need a reference to the '.' token.
range
final
public
void range(
Token
label) throws
RecognitionException
,
TokenStreamException
(Code)
reportError
public
void reportError(
String
s)
(Code)
reportError
public
void reportError(
RecognitionException
e)
(Code)
reportError
public
void reportError(
RecognitionException
e,
String
s)
(Code)
reportWarning
public
void reportWarning(
String
s)
(Code)
rootNode
final
public
void rootNode() throws
RecognitionException
,
TokenStreamException
(Code)
rule
final
public
void rule() throws
RecognitionException
,
TokenStreamException
(Code)
ruleOptionsSpec
final
public
void ruleOptionsSpec() throws
RecognitionException
,
TokenStreamException
(Code)
rules
final
public
void rules() throws
RecognitionException
,
TokenStreamException
(Code)
setBlockElement
final
public
BitSet
setBlockElement() throws
RecognitionException
,
TokenStreamException
(Code)
subruleOptionsSpec
final
public
void subruleOptionsSpec() throws
RecognitionException
,
TokenStreamException
(Code)
superClass
final
public
String
superClass() throws
RecognitionException
,
TokenStreamException
(Code)
terminal
final
public
void terminal(
Token
label) throws
RecognitionException
,
TokenStreamException
(Code)
throwsSpec
final
public
void throwsSpec() throws
RecognitionException
,
TokenStreamException
(Code)
tokensSpec
final
public
void tokensSpec() throws
RecognitionException
,
TokenStreamException
(Code)
tokensSpecOptions
final
public
void tokensSpecOptions(
Token
t) throws
RecognitionException
,
TokenStreamException
(Code)
tree
final
public
void tree() throws
RecognitionException
,
TokenStreamException
(Code)
treeParserOptionsSpec
final
public
void treeParserOptionsSpec() throws
RecognitionException
,
TokenStreamException
(Code)
treeParserSpec
final
public
void treeParserSpec(
String
doc) throws
RecognitionException
,
TokenStreamException
(Code)
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.