类的使用
org.antlr.runtime.BaseRecognizer
-
使用BaseRecognizer的程序包 程序包 说明 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中BaseRecognizer的使用
org.antlr.grammar.v3中BaseRecognizer的子类 修饰符和类型 类 说明 classActionAnalysisWe need to set Rule.referencedPredefinedRuleAttributes before code generation.classActionTranslatorclassANTLRLexerclassANTLRParserRead in an ANTLR grammar and build an AST.classANTLRTreePrinterPrint out a grammar (no pretty printing).classANTLRv3LexerclassANTLRv3ParserANTLR v3 grammar written in ANTLR v3 with AST constructionclassANTLRv3TreeANTLR v3 tree grammar to walk trees created by ANTLRv3.gclassAssignTokenTypesWalker[Warning: TJP says that this is probably out of date as of 11/19/2005, but since it's probably still useful, I'll leave in.classCodeGenTreeWalkerWalk a grammar and generate code by gradually building up a bigger and bigger ST.classDefineGrammarItemsWalkerclassLeftRecursiveRuleWalkerFind left-recursive rulesclassTreeToNFAConverterBuild an NFA from a tree representing an ANTLR grammar.参数类型为BaseRecognizer的org.antlr.grammar.v3中的构造器 构造器 说明 DFA2(BaseRecognizer recognizer)DFA22(BaseRecognizer recognizer)DFA25(BaseRecognizer recognizer)DFA48(BaseRecognizer recognizer)DFA81(BaseRecognizer recognizer)DFA9(BaseRecognizer recognizer) -
org.antlr.gunit中BaseRecognizer的使用
org.antlr.gunit中BaseRecognizer的子类 修饰符和类型 类 说明 classgUnitLexerclassgUnitParser参数类型为BaseRecognizer的org.antlr.gunit中的构造器 构造器 说明 DFA14(BaseRecognizer recognizer) -
org.antlr.gunit.swingui.parsers中BaseRecognizer的使用
org.antlr.gunit.swingui.parsers中BaseRecognizer的子类 修饰符和类型 类 说明 classANTLRv3LexerclassANTLRv3ParserANTLR v3 grammar written in ANTLR v3 with AST constructionclassStGUnitLexerclassStGUnitParser参数类型为BaseRecognizer的org.antlr.gunit.swingui.parsers中的构造器 构造器 说明 DFA13(BaseRecognizer recognizer)DFA2(BaseRecognizer recognizer)DFA22(BaseRecognizer recognizer)DFA72(BaseRecognizer recognizer) -
org.antlr.runtime中BaseRecognizer的使用
org.antlr.runtime中BaseRecognizer的子类 修饰符和类型 类 说明 classLexerA lexer is recognizer that draws input symbols from a character stream.classParserA parser for TokenStreams.声明为BaseRecognizer的org.antlr.runtime中的字段 修饰符和类型 字段 说明 protected BaseRecognizerDFA. recognizerWhich recognizer encloses this DFA? Needed to check backtracking -
org.antlr.runtime.debug中BaseRecognizer的使用
org.antlr.runtime.debug中BaseRecognizer的子类 修饰符和类型 类 说明 classDebugParserclassDebugTreeParser声明为BaseRecognizer的org.antlr.runtime.debug中的字段 修饰符和类型 字段 说明 protected BaseRecognizerDebugEventSocketProxy. recognizerWho am i debugging?参数类型为BaseRecognizer的org.antlr.runtime.debug中的构造器 构造器 说明 DebugEventSocketProxy(BaseRecognizer recognizer, int port, TreeAdaptor adaptor)DebugEventSocketProxy(BaseRecognizer recognizer, TreeAdaptor adaptor) -
org.antlr.runtime.tree中BaseRecognizer的使用
org.antlr.runtime.tree中BaseRecognizer的子类 修饰符和类型 类 说明 classTreeFilterCut-n-paste from material I'm not using in the book anymore (edit later to make sense): Now, how are we going to test these tree patterns against every subtree in our original tree? In what order should we visit nodes? For this application, it turns out we need a simple ``apply once'' rule application strategy and a ``down then up'' tree traversal strategy.classTreeParserA parser for a stream of tree nodes.classTreeRewriter -
org.antlr.tool中BaseRecognizer的使用
org.antlr.tool中BaseRecognizer的子类 修饰符和类型 类 说明 classAssignTokenTypesBehaviorMove all of the functionality from assign.types.g grammar file.classLeftRecursiveRuleAnalyzer
-