接口的使用
org.antlr.runtime.TokenStream
-
使用TokenStream的程序包 程序包 说明 org.antlr.grammar.v3 org.antlr.gunit org.antlr.gunit.swingui.parsers org.antlr.runtime org.antlr.runtime.debug org.antlr.runtime.tree org.antlr.tool -
-
org.antlr.grammar.v3中TokenStream的使用
参数类型为TokenStream的org.antlr.grammar.v3中的方法 修饰符和类型 方法 说明 static ANTLRParser
ANTLRParser. createParser(TokenStream input)
参数类型为TokenStream的org.antlr.grammar.v3中的构造器 构造器 说明 ANTLRParser(TokenStream input)
ANTLRParser(TokenStream input, RecognizerSharedState state)
ANTLRv3Parser(TokenStream input)
ANTLRv3Parser(TokenStream input, RecognizerSharedState state)
-
org.antlr.gunit中TokenStream的使用
参数类型为TokenStream的org.antlr.gunit中的构造器 构造器 说明 gUnitParser(TokenStream input)
gUnitParser(TokenStream input, GrammarInfo grammarInfo)
gUnitParser(TokenStream input, RecognizerSharedState state)
-
org.antlr.gunit.swingui.parsers中TokenStream的使用
参数类型为TokenStream的org.antlr.gunit.swingui.parsers中的构造器 构造器 说明 ANTLRv3Parser(TokenStream input)
ANTLRv3Parser(TokenStream input, RecognizerSharedState state)
StGUnitParser(TokenStream input)
StGUnitParser(TokenStream input, RecognizerSharedState state)
-
org.antlr.runtime中TokenStream的使用
实现TokenStream的org.antlr.runtime中的类 修饰符和类型 类 说明 class
BufferedTokenStream
Buffer all input tokens but do on-demand fetching of new tokens from lexer.class
CommonTokenStream
The most common stream of tokens where every token is buffered up and tokens are filtered for a certain channel (the parser will only see these tokens).class
LegacyCommonTokenStream
The most common stream of tokens is one where every token is buffered up and tokens are prefiltered for a certain channel (the parser will only see these tokens and cannot change the filter channel number during the parse).class
TokenRewriteStream
Useful for dumping out the input stream after doing some augmentation or other manipulations.class
UnbufferedTokenStream
A token stream that pulls tokens from the code source on-demand and without tracking a complete buffer of the tokens.声明为TokenStream的org.antlr.runtime中的字段 修饰符和类型 字段 说明 TokenStream
Parser. input
返回TokenStream的org.antlr.runtime中的方法 修饰符和类型 方法 说明 TokenStream
Parser. getTokenStream()
参数类型为TokenStream的org.antlr.runtime中的方法 修饰符和类型 方法 说明 void
Parser. setTokenStream(TokenStream input)
Set the token stream and reset the parser参数类型为TokenStream的org.antlr.runtime中的构造器 构造器 说明 Parser(TokenStream input)
Parser(TokenStream input, RecognizerSharedState state)
-
org.antlr.runtime.debug中TokenStream的使用
实现TokenStream的org.antlr.runtime.debug中的类 修饰符和类型 类 说明 class
DebugTokenStream
声明为TokenStream的org.antlr.runtime.debug中的字段 修饰符和类型 字段 说明 TokenStream
DebugTokenStream. input
返回TokenStream的org.antlr.runtime.debug中的方法 修饰符和类型 方法 说明 TokenStream
DebugTreeNodeStream. getTokenStream()
参数类型为TokenStream的org.antlr.runtime.debug中的方法 修饰符和类型 方法 说明 java.lang.Object
DebugTreeAdaptor. errorNode(TokenStream input, Token start, Token stop, RecognitionException e)
参数类型为TokenStream的org.antlr.runtime.debug中的构造器 构造器 说明 DebugParser(TokenStream input, DebugEventListener dbg)
DebugParser(TokenStream input, DebugEventListener dbg, RecognizerSharedState state)
Create a normal parser except wrap the token stream in a debug proxy that fires consume events.DebugParser(TokenStream input, RecognizerSharedState state)
DebugTokenStream(TokenStream input, DebugEventListener dbg)
-
org.antlr.runtime.tree中TokenStream的使用
声明为TokenStream的org.antlr.runtime.tree中的字段 修饰符和类型 字段 说明 protected TokenStream
TreeFilter. originalTokenStream
protected TokenStream
TreeRewriter. originalTokenStream
protected TokenStream
BufferedTreeNodeStream. tokens
IF this tree (root) was created from a token stream, track it.protected TokenStream
CommonTreeNodeStream. tokens
If this tree (root) was created from aTokenStream
, track it.返回TokenStream的org.antlr.runtime.tree中的方法 修饰符和类型 方法 说明 TokenStream
BufferedTreeNodeStream. getTokenStream()
TokenStream
CommonTreeNodeStream. getTokenStream()
TokenStream
TreeNodeStream. getTokenStream()
If the tree associated with this stream was created from aTokenStream
, you can specify it here.参数类型为TokenStream的org.antlr.runtime.tree中的方法 修饰符和类型 方法 说明 java.lang.Object
BaseTreeAdaptor. errorNode(TokenStream input, Token start, Token stop, RecognitionException e)
create tree node that holds the start and stop tokens associated with an error.java.lang.Object
TreeAdaptor. errorNode(TokenStream input, Token start, Token stop, RecognitionException e)
Return a tree node representing an error.void
BufferedTreeNodeStream. setTokenStream(TokenStream tokens)
void
CommonTreeNodeStream. setTokenStream(TokenStream tokens)
参数类型为TokenStream的org.antlr.runtime.tree中的构造器 构造器 说明 CommonErrorNode(TokenStream input, Token start, Token stop, RecognitionException e)
-
org.antlr.tool中TokenStream的使用
实现TokenStream的org.antlr.tool中的类 修饰符和类型 类 说明 static class
Interp.FilteringTokenStream
-