/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/ |
JavaScript.stg | 28 var <grammar.recognizerName> = function(input, state<grammar.delegators:{g|, <g:delegateName()>}>) { 30 // public <grammar.recognizerName>(CharStream input<grammar.delegators:{g|, <g.recognizerName> <g:delegateName()>}>) 31 // public <grammar.recognizerName>(CharStream input, RecognizerSharedState state<grammar.delegators:{g|, <g.recognizerName> <g:delegateName()>}>) { 40 <cyclicDFAs:{dfa | this.dfa<dfa.decisionNumber> = new <grammar.recognizerName>.DFA<dfa.decisionNumber>(this);}; separator="\n"> 41 <grammar.recognizerName>.superclass.constructor.call(this, input, state); 49 {g|this.<g:delegateName()> = new <g.recognizerName>(input, state<trunc(g.delegators):{p|, <p:delegateName()>}>, this);}; separator="\n"> 57 org.antlr.lang.augmentObject(<grammar.recognizerName>, { 64 org.antlr.lang.extend(<grammar.recognizerName>, <@superClassName><superClass><@end>, [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/ |
Delphi.stg | 120 I<grammar.recognizerName> = interface(I<@superClassName><superClass><@end>) 123 T<grammar.recognizerName> = class(T<@superClassName><superClass><@end>, I<grammar.recognizerName>) 138 <grammar.delegates: {g|<g:delegateName()>: I<superClass>; {<g.recognizerName>}}; separator="\n"> 141 <grammar.delegators: {g|<g:delegateName()>: Pointer; {<g.recognizerName>}}; separator="\n"> 142 <last(grammar.delegators):{g|gParent: Pointer; {<g.recognizerName>}}> 160 constructor Create(const AInput: ICharStream<grammar.delegators:{g|; const A<g:delegateName()>: IBaseRecognizer{<g.recognizerName>}}>); overload; 161 constructor Create(const AInput: ICharStream; const AState: IRecognizerSharedState<grammar.delegators:{g|; const A<g:delegateName()>: IBaseRecognizer{<g.recognizerName>}}>); overload; 170 <grammar.delegates: {g|<g.recognizerName>,}; separator="\n"> 171 <grammar.delegators: {g|<g.recognizerName>,}; separator="\n" [all...] |
AST.stg | 68 procedure T<grammar.recognizerName>.SetAdaptor(const Value: ITreeAdaptor); 76 function T<grammar.recognizerName>.T<ruleDescriptor:returnStructName()>.GetTree: IANTLRInterface; 81 procedure T<grammar.recognizerName>.T<ruleDescriptor:returnStructName()>.SetTree(const Value: IANTLRInterface);
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
Dbg.stg | 67 ((Profiler)dbg).examineRuleMemoization(input, ruleIndex, stopIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[ruleIndex]); 74 ((Profiler)dbg).memoize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[ruleIndex]); 94 <grammar.directDelegates:{g|<g:delegateName()> = new <g.recognizerName>(input, dbg, this.state, this<grammar.delegators:{g|, <g:delegateName()>}>);}; separator="\n"> 110 {g|<g:delegateName()> = new <g.recognizerName>(input, dbg, this.state, this<grammar.delegators:{g|, <g:delegateName()>}>);}; separator="\n"> 118 public <name>(<inputStreamType> input, DebugEventListener dbg, RecognizerSharedState state<grammar.delegators:{g|, <g.recognizerName> <g:delegateName()>}>) { 122 {g|<g:delegateName()> = new <g.recognizerName>(input, this, this.state<grammar.delegators:{g|, <g:delegateName()>}>);}; separator="\n"> 134 <grammar.directDelegates:{g|<g:delegateName()> = new <g.recognizerName>(input, dbg, this.state, this<grammar.delegators:{g|, <g:delegateName()>}>);}; separator="\n">
|
Java.stg | 86 public class <grammar.recognizerName> extends <@superClassName><superClass><@end> { 93 {g|public <g.recognizerName> <g:delegateName()>;}; separator="\n"> 96 {g|public <g.recognizerName> <g:delegateName()>;}; separator="\n"> 97 <last(grammar.delegators):{g|public <g.recognizerName> gParent;}> 102 public <grammar.recognizerName>() {} <! needed by subclasses !> 103 public <grammar.recognizerName>(CharStream input<grammar.delegators:{g|, <g.recognizerName> <g:delegateName()>}>) { 106 public <grammar.recognizerName>(CharStream input, RecognizerSharedState state<grammar.delegators:{g|, <g.recognizerName> <g:delegateName()>}>) { 114 {g|<g:delegateName()> = new <g.recognizerName>(input, state<trunc(g.delegators):{p|, <p:delegateName()>}>, this);}; separator="\n" [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
Dbg.stg | 72 ((Profiler)dbg).ExamineRuleMemoization(input, ruleIndex, stopIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[ruleIndex]); 77 ((Profiler)dbg).Memoize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[ruleIndex]); 100 <grammar.directDelegates:{g|<g:delegateName()> = new <g.recognizerName>( input, dbg, this.state, this<grammar.delegators:{g|, <g:delegateName()>}> );}; separator="\n"> 118 {g|<g:delegateName()> = new <g.recognizerName>( input, dbg, this.state, this<grammar.delegators:{g|, <g:delegateName()>}> );}; separator="\n"> 126 <actions.(actionScope).ctorModifier; null="public"> <name>( <inputStreamType> input, IDebugEventListener dbg, RecognizerSharedState state<grammar.delegators:{g|, <g.recognizerName> <g:delegateName()>}> ) 131 {g|<g:delegateName()> = new <g.recognizerName>( input, this, this.state<grammar.delegators:{g|, <g:delegateName()>}> );}; separator="\n"> 144 <grammar.directDelegates:{g|<g:delegateName()> = new <g.recognizerName>(input, dbg, this.state, this<grammar.delegators:{g|, <g:delegateName()>}>);}; separator="\n">
|
CSharp2.stg | 106 <parserModifier(grammar=grammar, actions=actions)> partial class <grammar.recognizerName> : <@superClassName><superClass><@end> 114 {g|private <g.recognizerName> <g:delegateName()>;}; separator="\n"> 117 {g|private <g.recognizerName> <g:delegateName()>;}; separator="\n"> 118 <last(grammar.delegators):{g|private <g.recognizerName> gParent;}> 120 <actions.(actionScope).ctorModifier; null="public"> <grammar.recognizerName>()<! needed by subclasses !> 125 <actions.(actionScope).ctorModifier; null="public"> <grammar.recognizerName>(<lexerInputStreamType()> input<grammar.delegators:{g|, <g.recognizerName> <g:delegateName()>}> ) 130 <actions.(actionScope).ctorModifier; null="public"> <grammar.recognizerName>(<lexerInputStreamType()> input, RecognizerSharedState state<grammar.delegators:{g|, <g.recognizerName> <g:delegateName()>}>) 139 {g|<g:delegateName()> = new <g.recognizerName>(input, this.state<trunc(g.delegators):{p|, <p:delegateName()>}>, this);}; separator="\n" [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
Dbg.stg | 71 ((Profiler)dbg).ExamineRuleMemoization(input, ruleIndex, stopIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[ruleIndex]); 76 ((Profiler)dbg).Memoize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[ruleIndex]); 99 <grammar.directDelegates:{g|<g:delegateName()> = new <g.recognizerName>( input, dbg, this.state, this<grammar.delegators:{g|, <g:delegateName()>}> );}; separator="\n"> 117 {g|<g:delegateName()> = new <g.recognizerName>( input, dbg, this.state, this<grammar.delegators:{g|, <g:delegateName()>}> );}; separator="\n"> 125 <actions.(actionScope).ctorModifier; null="public"> <name>( <inputStreamType> input, IDebugEventListener dbg, RecognizerSharedState state<grammar.delegators:{g|, <g.recognizerName> <g:delegateName()>}> ) 130 {g|<g:delegateName()> = new <g.recognizerName>( input, this, this.state<grammar.delegators:{g|, <g:delegateName()>}> );}; separator="\n"> 143 <grammar.directDelegates:{g|<g:delegateName()> = new <g.recognizerName>(input, dbg, this.state, this<grammar.delegators:{g|, <g:delegateName()>}>);}; separator="\n">
|
CSharp3.stg | 105 <parserModifier(grammar=grammar, actions=actions)> partial class <grammar.recognizerName> : <@superClassName><superClass><@end> 113 {g|private <g.recognizerName> <g:delegateName()>;}; separator="\n"> 116 {g|private <g.recognizerName> <g:delegateName()>;}; separator="\n"> 117 <last(grammar.delegators):{g|private <g.recognizerName> gParent;}> 119 <actions.(actionScope).ctorModifier; null="public"> <grammar.recognizerName>()<! needed by subclasses !> 124 <actions.(actionScope).ctorModifier; null="public"> <grammar.recognizerName>(<lexerInputStreamType()> input<grammar.delegators:{g|, <g.recognizerName> <g:delegateName()>}> ) 129 <actions.(actionScope).ctorModifier; null="public"> <grammar.recognizerName>(<lexerInputStreamType()> input, RecognizerSharedState state<grammar.delegators:{g|, <g.recognizerName> <g:delegateName()>}>) 138 {g|<g:delegateName()> = new <g.recognizerName>(input, this.state<trunc(g.delegators):{p|, <p:delegateName()>}>, this);}; separator="\n" [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/ |
Dbg.stg | 103 ((Profiler)self._dbg).examineRuleMemoization(input, ruleIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[ruleIndex]); 111 ((Profiler)self._dbg).memoize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[ruleIndex]); 132 <grammar.directDelegates:{g|<g:delegateName()> = new <g.recognizerName>(input, self._dbg, this.state, this<grammar.delegators:{g|, <g:delegateName()>}>);}; separator="\n"> 149 {g|<g:delegateName()> = new <g.recognizerName>(input, self.dbg, this.state, this<grammar.delegators:{g|, <g:delegateName()>}>);}; separator="\n"> 158 public <name>(<inputStreamType> input, DebugEventListener self.dbg, RecognizerSharedState state<grammar.delegators:{g|, <g.recognizerName> <g:delegateName()>}>) { 162 {g|<g:delegateName()> = new <g.recognizerName>(input, this, this.state<grammar.delegators:{g|, <g:delegateName()>}>);}; separator="\n"> 176 <grammar.directDelegates:{g|<g:delegateName()> = new <g.recognizerName>(input, self._dbg, this.state, this<grammar.delegators:{g|, <g:delegateName()>}>);}; separator="\n">
|
Python.stg | 110 {g|from <g.recognizerName> import <g.recognizerName>}; separator="\n"> 112 class <grammar.recognizerName>(<@superClassName><superClass><@end>): 121 super(<grammar.recognizerName>, self).__init__(input, state) 130 {g|self.<g:delegateName()> = <g.recognizerName>(<trunc(g.delegators):{p|<p:delegateName()>, }>self, input, state)}; separator="\n"> 204 super(<grammar.recognizerName>, self).memoize(input, ruleIndex, ruleStartIndex, success) 209 return super(<grammar.recognizerName>, self).alreadyParsedRule(input, ruleIndex) 231 from <grammar.composite.rootGrammar.recognizerName> import tokenNames<\n> 236 {g|from <g.recognizerName> import <g.recognizerName>}; separator="\n" [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Scala/ |
Scala.stg | 69 object <grammar.recognizerName> { 75 class <grammar.recognizerName>(input: CharStream, state<grammar.delegators:{g|, <g.recognizerName> <g:delegateName()>}>: RecognizerSharedState) extends <@superClassName><superClass><@end>(input, state<grammar.delegators:{g|, <g.recognizerName> <g:delegateName()>}>) { 76 import <grammar.recognizerName>._ 81 {g|<g.recognizerName> <g:delegateName()>}; separator="\n"> 84 {g|<g.recognizerName> <g:delegateName()>}; separator="\n"> 85 <last(grammar.delegators):{g|public <g.recognizerName> gParent;}> 89 def this(input<grammar.delegators:{g|, <g.recognizerName> <g:delegateName()>}>: CharStream) = 98 {g|<g:delegateName()> = new <g.recognizerName>(input, state<trunc(g.delegators):{p|, <p:delegateName()>}>, this)}; separator="\n" [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/ |
ActionScript.stg | 66 public class <grammar.recognizerName> extends <if(actions.(actionScope).superClass)><actions.(actionScope).superClass><else><@superClassName><superClass><@end><endif> { 73 {g|public var <g:delegateName()>:<g.recognizerName>;}; separator="\n"> 76 {g|public var <g:delegateName()>:<g.recognizerName>;}; separator="\n"> 77 <last(grammar.delegators):{g|public var gParent:<g.recognizerName>;}> 79 public function <grammar.recognizerName>(<grammar.delegators:{g|<g:delegateName()>:<g.recognizerName>, }>input:CharStream = null, state:RecognizerSharedState = null) { 88 {g|<g:delegateName()> = new <g.recognizerName>(<trunc(g.delegators):{p|<p:delegateName()>, }>this, input, this.state);}; separator="\n"> 173 public class <grammar.recognizerName> extends <if(actions.(actionScope).superClass)><actions.(actionScope).superClass><else><@superClassName><superClass><@end><endif> { 183 {g|public var <g:delegateName()>:<g.recognizerName>;}; separator="\n"> 186 {g|public var <g:delegateName()>:<g.recognizerName>;}; separator="\n" [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
Dbg.stg | 81 [(Profiler)dbg examineRuleMemoization:input, ruleIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames objectAtIndex:ruleIndex]; 86 [((Profiler)dbg) memoize:input RuleIndex:ruleIndex StartIndex:ruleStartIndex [<grammar.composite.rootGrammar.recognizerName> ruleNames[ruleIndex]];
|
ObjC.stg | 310 @implementation <grammar.recognizerName> // line 330 322 + (<grammar.recognizerName> *)new<grammar.recognizerName>WithCharStream:(id\<ANTLRCharStream>)anInput 324 return [[<grammar.recognizerName> alloc] initWithCharStream:anInput]; 378 @end /* end of <grammar.recognizerName> implementation line 397 */ 679 @implementation <grammar.recognizerName> // line 637 699 + (<grammar.recognizerName> *)new<grammar.recognizerName>:(<inputStreamType>)aStream 702 return [[<grammar.recognizerName> alloc] initWithTokenStream:aStream]; 704 return [[<grammar.recognizerName> alloc] initWithStream:aStream] [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/ |
C.stg | 651 <recognizer.grammar.delegates: {g|#include \<<g.recognizerName>.h>}; separator="\n"> 693 <recognizer.grammar.delegators: {g|#include \<<g.recognizerName>.h>}; separator="\n"> 716 {g|p<g.recognizerName> <g:delegateName()>;}; separator="\n"> 720 {g|p<g.recognizerName> <g:delegateName()>;}; separator="\n"> 752 ANTLR3_API p<name> <name>New (<inputType()> instream<recognizer.grammar.delegators:{g|, p<g.recognizerName> <g:delegateName()>}>); 753 ANTLR3_API p<name> <name>NewSSD (<inputType()> instream, pANTLR3_RECOGNIZER_SHARED_STATE state<recognizer.grammar.delegators:{g|, p<g.recognizerName> <g:delegateName()>}>); 755 extern pANTLR3_UINT8 <recognizer.grammar.composite.rootGrammar.recognizerName>TokenNames[]; [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/ |
Ruby.stg | 140 require '<recognizer.grammar.delegator.recognizerName>' 222 require '<grammar.composite.rootGrammar.recognizerName>' [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/tool/templates/messages/languages/ |
en.stg | 224 "combined grammar <arg.name> and imported <arg2.grammarTypeString> grammar <arg2.name> both generate <arg2.recognizerName>; import ignored"
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
CodeGenerator.java | [all...] |
/external/antlr/antlr-3.4/tool/ |
CHANGES.txt | [all...] |
/external/antlr/antlr-3.4/lib/ |
antlr-3.4-complete.jar | |
/prebuilt/common/antlr/ |
antlr-3.4-complete.jar | |