/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Delphi/ |
D | 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 …rammar.delegators:{g|; const A<g:delegateName()>: IBaseRecognizer{<g.recognizerName>}}>); overload; 161 …rammar.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"> 177 { T<grammar.recognizerName> } [all …]
|
D | 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: IANTL…
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/ |
D | 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:d… 31 // public <grammar.recognizerName>(CharStream input, RecognizerSharedState state<grammar.delegators… 40 …<cyclicDFAs:{dfa | this.dfa<dfa.decisionNumber> = new <grammar.recognizerName>.DFA<dfa.decisionNum… 41 <grammar.recognizerName>.superclass.constructor.call(this, input, state); 49 …{g|this.<g:delegateName()> = new <g.recognizerName>(input, state<trunc(g.delegators):{p|, <p:deleg… 57 org.antlr.lang.augmentObject(<grammar.recognizerName>, { 64 org.antlr.lang.extend(<grammar.recognizerName>, <@superClassName><superClass><@end>, { 69 org.antlr.lang.augmentObject(<grammar.recognizerName>.prototype, { 131 …<grammar.recognizerName>.superclass.prototype.memoize.call(this, input, ruleIndex, ruleStartIndex); [all …]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
D | Dbg.stg | 71 …oization(input, ruleIndex, stopIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[rul… 76 …ize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[rul… 98 …<grammar.directDelegates:{g|<g:delegateName()> = new <g.recognizerName>( input, dbg, this.state, t… 116 …{g|<g:delegateName()> = new <g.recognizerName>( input, dbg, this.state, this<grammar.delegators:{g… 125 …Listener dbg, RecognizerSharedState state<grammar.delegators:{g|, <g.recognizerName> <g:delegateNa… 129 …{g|<g:delegateName()> = new <g.recognizerName>( input, this, this.state<grammar.delegators:{g|, <g… 142 …<grammar.directDelegates:{g|<g:delegateName()> = new <g.recognizerName>(input, dbg, this.state, th…
|
D | CSharp3.stg | 105 <parserModifier(grammar=grammar, actions=actions)> partial class <grammar.recognizerName> : <@super… 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 subclas… 124 …difier; null="public"> <grammar.recognizerName>(<lexerInputStreamType()> input<grammar.delegators:… 129 …public"> <grammar.recognizerName>(<lexerInputStreamType()> input, RecognizerSharedState state<gram… 138 …{g|<g:delegateName()> = new <g.recognizerName>(input, this.state<trunc(g.delegators):{p|, <p:deleg… 158 …{g|<g:delegateName()> = new <g.recognizerName>(input, state<trunc(g.delegators):{p|, <p:delegateNa… 281 <parserModifier(grammar=grammar, actions=actions)> partial class <grammar.recognizerName> : <@super… [all …]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
D | Dbg.stg | 67 …oization(input, ruleIndex, stopIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[rul… 76 …ize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[rul… 96 …<grammar.directDelegates:{g|<g:delegateName()> = new <g.recognizerName>(input, dbg, this.state, th… 112 …{g|<g:delegateName()> = new <g.recognizerName>(input, dbg, this.state, this<grammar.delegators:{g|… 120 …Listener dbg, RecognizerSharedState state<grammar.delegators:{g|, <g.recognizerName> <g:delegateNa… 124 …{g|<g:delegateName()> = new <g.recognizerName>(input, this, this.state<grammar.delegators:{g|, <g:… 136 …<grammar.directDelegates:{g|<g:delegateName()> = new <g.recognizerName>(input, dbg, this.state, th…
|
D | Java.stg | 87 public class <grammar.recognizerName> extends <@superClassName><superClass><@end> { 94 {g|public <g.recognizerName> <g:delegateName()>;}; separator="\n"> 97 {g|public <g.recognizerName> <g:delegateName()>;}; separator="\n"> 98 <last(grammar.delegators):{g|public <g.recognizerName> gParent;}> 103 public <grammar.recognizerName>() {} <! needed by subclasses !> 104 …public <grammar.recognizerName>(CharStream input<grammar.delegators:{g|, <g.recognizerName> <g:del… 107 …public <grammar.recognizerName>(CharStream input, RecognizerSharedState state<grammar.delegators:{… 115 …{g|<g:delegateName()> = new <g.recognizerName>(input, state<trunc(g.delegators):{p|, <p:delegateNa… 208 public class <grammar.recognizerName> extends <@superClassName><superClass><@end> { 217 <grammar.delegates: {g|public <g.recognizerName> <g:delegateName()>;}; separator="\n"> [all …]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
D | Dbg.stg | 72 …oization(input, ruleIndex, stopIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[rul… 77 …ize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[rul… 99 …<grammar.directDelegates:{g|<g:delegateName()> = new <g.recognizerName>( input, dbg, this.state, t… 117 …{g|<g:delegateName()> = new <g.recognizerName>( input, dbg, this.state, this<grammar.delegators:{g… 126 …Listener dbg, RecognizerSharedState state<grammar.delegators:{g|, <g.recognizerName> <g:delegateNa… 130 …{g|<g:delegateName()> = new <g.recognizerName>( input, this, this.state<grammar.delegators:{g|, <g… 143 …<grammar.directDelegates:{g|<g:delegateName()> = new <g.recognizerName>(input, dbg, this.state, th…
|
D | CSharp2.stg | 106 <parserModifier(grammar=grammar, actions=actions)> partial class <grammar.recognizerName> : <@super… 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 subclas… 125 …difier; null="public"> <grammar.recognizerName>(<lexerInputStreamType()> input<grammar.delegators:… 130 …public"> <grammar.recognizerName>(<lexerInputStreamType()> input, RecognizerSharedState state<gram… 139 …{g|<g:delegateName()> = new <g.recognizerName>(input, this.state<trunc(g.delegators):{p|, <p:deleg… 161 …{g|<g:delegateName()> = new <g.recognizerName>(input, state<trunc(g.delegators):{p|, <p:delegateNa… 286 <parserModifier(grammar=grammar, actions=actions)> partial class <grammar.recognizerName> : <@super… [all …]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python3/ |
D | Dbg.stg | 103 …mineRuleMemoization(input, ruleIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[rul… 111 …ize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[rul… 132 …<grammar.directDelegates:{g|<g:delegateName()> = new <g.recognizerName>(input, self._dbg, this.sta… 149 …{g|<g:delegateName()> = new <g.recognizerName>(input, self.dbg, this.state, this<grammar.delegator… 158 …ner self.dbg, RecognizerSharedState state<grammar.delegators:{g|, <g.recognizerName> <g:delegateNa… 162 …{g|<g:delegateName()> = new <g.recognizerName>(input, this, this.state<grammar.delegators:{g|, <g:… 176 …<grammar.directDelegates:{g|<g:delegateName()> = new <g.recognizerName>(input, self._dbg, this.sta…
|
D | Python3.stg | 112 {g|from .<g.recognizerName> import <g.recognizerName>}; separator="\n"> 115 class <grammar.recognizerName>(<@superClassName><superClass><@end>): 133 …{g|self.<g:delegateName()> = <g.recognizerName>(<trunc(g.delegators):{p|<p:delegateName()>, }>self… 244 {g|from .<g.recognizerName> import <g.recognizerName>}; separator="\n"> 249 class <grammar.recognizerName>(<@superClassName><superClass><@end>): 277 …{g|self.<g:delegateName()> = <g.recognizerName>(<trunc(g.delegators):{p|<p:delegateName()>, }>self…
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python/ |
D | Dbg.stg | 103 …mineRuleMemoization(input, ruleIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[rul… 111 …ize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[rul… 132 …<grammar.directDelegates:{g|<g:delegateName()> = new <g.recognizerName>(input, self._dbg, this.sta… 149 …{g|<g:delegateName()> = new <g.recognizerName>(input, self.dbg, this.state, this<grammar.delegator… 158 …ner self.dbg, RecognizerSharedState state<grammar.delegators:{g|, <g.recognizerName> <g:delegateNa… 162 …{g|<g:delegateName()> = new <g.recognizerName>(input, this, this.state<grammar.delegators:{g|, <g:… 176 …<grammar.directDelegates:{g|<g:delegateName()> = new <g.recognizerName>(input, self._dbg, this.sta…
|
D | 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… 206 super(<grammar.recognizerName>, self).memoize(input, ruleIndex, ruleStartIndex, success) 211 return super(<grammar.recognizerName>, self).alreadyParsedRule(input, ruleIndex) 233 from <grammar.composite.rootGrammar.recognizerName> import tokenNames<\n> 238 {g|from <g.recognizerName> import <g.recognizerName>}; separator="\n"> 242 class <grammar.recognizerName>(<@superClassName><superClass><@end>): 252 super(<grammar.recognizerName>, self).__init__(input, state, *args, **kwargs) [all …]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Scala/ |
D | Scala.stg | 69 object <grammar.recognizerName> { 75 …recognizerName>(input: CharStream, state<grammar.delegators:{g|, <g.recognizerName> <g:delegateNam… 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:delegateNa… 111 …<cyclicDFAs:{dfa | private val dfa<dfa.decisionNumber> = new <grammar.recognizerName>.DFA<dfa.deci… 185 object <grammar.recognizerName> { [all …]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/ |
D | ActionScript.stg | 65 public class <grammar.recognizerName> extends <if(actions.(actionScope).superClass)><actions.(actio… 72 {g|public var <g:delegateName()>:<g.recognizerName>;}; separator="\n"> 75 {g|public var <g:delegateName()>:<g.recognizerName>;}; separator="\n"> 76 <last(grammar.delegators):{g|public var gParent:<g.recognizerName>;}> 78 …public function <grammar.recognizerName>(<grammar.delegators:{g|<g:delegateName()>:<g.recognizerNa… 87 …{g|<g:delegateName()> = new <g.recognizerName>(<trunc(g.delegators):{p|<p:delegateName()>, }>this,… 173 public class <grammar.recognizerName> extends <if(actions.(actionScope).superClass)><actions.(actio… 182 <grammar.delegates: {g|public var <g:delegateName()>:<g.recognizerName>;}; separator="\n"> 185 {g|public var <g:delegateName()>:<g.recognizerName>;}; separator="\n"> 186 <last(grammar.delegators):{g|public var gParent:<g.recognizerName>;}> [all …]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Cpp/ |
D | Cpp.stg | 152 <recognizer.grammar.delegators: {g|#include "<g.recognizerName>.hpp" }; separator="\n"> 298 <recognizer.grammar.delegates: {g|#include "<g.recognizerName>.hpp"}; separator="\n"> 338 <recognizer.grammar.delegators: {g|class <g.recognizerName>; }; separator="\n"> 387 {g|<g.recognizerName>* m_<g:delegateName()>;}; separator="\n"> 391 {g|<g.recognizerName>* m_<g:delegateName()>;}; separator="\n"> 403 …<name>(InputType* instream<recognizer.grammar.delegators:{g|, <g.recognizerName>* <g:delegateName(… 404 …cognizerSharedStateType* state<recognizer.grammar.delegators:{g|, <g.recognizerName>* <g:delegateN… 406 …void init(InputType* instream <recognizer.grammar.delegators:{g|, <g.recognizerName>* <g:delegateN… 442 extern ANTLR_UINT8* <recognizer.grammar.composite.rootGrammar.recognizerName>TokenNames[]; 627 <name>::<name>(StreamType* instream<grammar.delegators:{g|, <g.recognizerName>* <g:delegateName()>}… [all …]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
D | Dbg.stg | 81 …mineRuleMemoization:input, ruleIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames obj… 86 …:ruleIndex StartIndex:ruleStartIndex [<grammar.composite.rootGrammar.recognizerName> ruleNames[rul…
|
D | ObjC.stg | 324 @implementation <grammar.recognizerName> // line 330 336 + (<grammar.recognizerName> *)new<grammar.recognizerName>WithCharStream:(id\<CharStream>)anInput 338 return [[<grammar.recognizerName> alloc] initWithCharStream:anInput]; 392 @end /* end of <grammar.recognizerName> implementation line 397 */ 696 @implementation <grammar.recognizerName> // line 637 720 + (<grammar.recognizerName> *)new<grammar.recognizerName>:(<inputStreamType>)aStream 723 return [[<grammar.recognizerName> alloc] initWithTokenStream:aStream]; 725 return [[<grammar.recognizerName> alloc] initWithStream:aStream]; 771 @end /* end of <grammar.recognizerName> implementation line 692 */<\n>
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/C/ |
D | 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 … (<inputType()> instream<recognizer.grammar.delegators:{g|, p<g.recognizerName> <g:delegateNa… 753 …RECOGNIZER_SHARED_STATE state<recognizer.grammar.delegators:{g|, p<g.recognizerName> <g:delegateNa… 755 extern pANTLR3_UINT8 <recognizer.grammar.composite.rootGrammar.recognizerName>TokenNames[]; 945 (<inputType()> instream<grammar.delegators:{g|, p<g.recognizerName> <g:delegateName()>}>) 961 …m, pANTLR3_RECOGNIZER_SHARED_STATE state<grammar.delegators:{g|, p<g.recognizerName> <g:delegateNa… 1026 …{g|ctx-><g:delegateName()> = <g.recognizerName>NewSSD(instream, ctx->pLexer->rec->state, ctx<gramm… [all …]
|
/external/antlr/tool/src/main/java/org/antlr/codegen/ |
D | CodeGenerator.java | 1267 String recognizerName = grammar.getRecognizerName(); in getRecognizerFileName() local 1268 return recognizerName+extST.render(); in getRecognizerFileName()
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Ruby/ |
D | Ruby.stg | 140 require '<recognizer.grammar.delegator.recognizerName>' 222 require '<grammar.composite.rootGrammar.recognizerName>' 1443 <grammar.directDelegates:{it | autoload :<it.name>, "<it.recognizerName>"<\n>}>
|
/external/antlr/tool/src/main/resources/org/antlr/tool/templates/messages/languages/ |
D | en.stg | 226 …ted <arg2.grammarTypeString> grammar <arg2.name> both generate <arg2.recognizerName>; import ignor…
|
/external/antlr/tool/ |
D | CHANGES.txt | 1054 …ted <arg2.grammarTypeString> grammar <arg2.name> both generate <arg2.recognizerName>; import ignor…
|