/external/antlr/antlr-3.4/gunit/src/main/antlr3/org/antlr/gunit/swingui/parsers/ |
H A D | ANTLRv3.g | 104 -> ^( {adaptor.create(gtype,$g)} 171 -> ^( RULE id {modifier!=null?adaptor.create(modifier):null} ^(ARG $arg)? ^(RET $rt)? 206 // must create root manually as it's used by invoked rules in real antlr tool. 209 CommonTree blkRoot = (CommonTree)adaptor.create(BLOCK,input.LT(-1),"BLOCK"); 417 -> {%{$ID.text}} // create literal template from string (done in ActionTranslator)
|
/external/antlr/antlr-3.4/lib/ |
H A D | antlr-3.4-complete.jar | META-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ... |
/external/antlr/antlr-3.4/runtime/ActionScript/project/lib/ |
H A D | FlexAntTasks.jar | META-INF/ META-INF/MANIFEST.MF com/ com/adobe/ com/adobe/ac/ com/adobe/ac/ant/ ... |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
H A D | BaseRecognizer.as | 627 * you will want to create something special for identifier 632 * override this method to create the appropriate tokens.
|
H A D | RecognizerSharedState.as | 59 /** The goal of all lexer rules/methods is to create a token object. 61 * create a single token. nextToken will return this object after
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/ |
H A D | BaseTreeAdaptor.as | 13 * expensive: we have to create a hashtable with all tree nodes in it. 22 /** create tree node that holds the start and stop tokens associated 109 // If new Root is token, then create a Tree. 213 /** Tell me how to create a token for use with imaginary token nodes. 215 * token DECL, but you need to create it as a payload or whatever for 225 /** Tell me how to create a token for use with imaginary token nodes. 227 * token DECL, but you need to create it as a payload or whatever for 288 public function create(... args):Object { function
|
H A D | TreeAdaptor.as | 32 /** How to create and navigate trees. Rather than have a separate factory 46 * common create call. 183 * lead you to the token, you can create a token filled with 251 function create(... args):Object;
|
/external/antlr/antlr-3.4/runtime/C/include/ |
H A D | antlr3basetreeadaptor.h | 93 void * (*create) (struct ANTLR3_BASE_TREE_ADAPTOR_struct * adaptor, pANTLR3_COMMON_TOKEN payload); member in struct:ANTLR3_BASE_TREE_ADAPTOR_struct
|
/external/antlr/antlr-3.4/runtime/C/src/ |
H A D | antlr3basetreeadaptor.c | 386 // No tree, so create a blank spec 443 return adaptor->create(adaptor, NULL); 451 t = adaptor->create (adaptor, NULL); 506 // Send the create node event 571 adaptor->addChild(adaptor, t, adaptor->create(adaptor, child)); 581 tc = adaptor->create(adaptor, child); 742 return adaptor->becomeRoot(adaptor, adaptor->create(adaptor, newRoot), oldRoot); 749 t = adaptor->becomeRoot(adaptor, adaptor->create(adaptor, newRoot), oldRoot); 756 /** Use the super class supplied create() method to create [all...] |
H A D | antlr3commontreeadaptor.c | 47 static pANTLR3_BASE_TREE create (pANTLR3_BASE_TREE_ADAPTOR adpator, pANTLR3_COMMON_TOKEN payload); 88 // First job is to create the memory we need for the tree adaptor interface. 106 cta->baseAdaptor.create = (void * (*) (pANTLR3_BASE_TREE_ADAPTOR, pANTLR3_COMMON_TOKEN)) 107 create; 190 ta->create = (void * (*) (pANTLR3_BASE_TREE_ADAPTOR, pANTLR3_COMMON_TOKEN)) 208 adaptor->create = (void * (*) (pANTLR3_BASE_TREE_ADAPTOR, pANTLR3_COMMON_TOKEN)) 259 create (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_COMMON_TOKEN payload) function 276 ct = create(adaptor, payload); 282 /** Tell me how to create a token for use with imaginary token nodes. 284 * token DECL, but you need to create i [all...] |
H A D | antlr3rewritestreams.c | 210 // First job is to create the memory we need. 261 // First job is to create the memory we need. 284 // First job is to create the memory we need. 313 // First job is to create the memory we need. 337 // First job is to create the memory we need. 356 // First job is to create the memory we need. 377 // First job is to create the memory we need. 399 // First job is to create the memory we need. 422 // First job is to create the memory we need. 446 // First job is to create th [all...] |
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/ |
H A D | Antlr.Runtime.Tree.pas | 51 /// How to create and navigate trees. Rather than have a separate factory 71 /// This is the most common create call. Override if you want another kind of node to be built. 256 /// store information that can lead you to the token, you can create 421 /// parsing, it's slow and a waste of memory to create unique 645 /// Tell me how to create a token for use with imaginary token nodes. 647 /// token DECL, but you need to create it as a payload or whatever for 656 /// Tell me how to create a token for use with imaginary token nodes. 658 /// token DECL, but you need to create it as a payload or whatever for 918 /// In order to create nodes and navigate, this class needs a TreeAdaptor. 926 /// patterns like "(A B C)". You can create [all...] |
H A D | Antlr.Runtime.pas | 590 /// The goal of all lexer rules/methods is to create a token object. 592 /// create a single token. NextToken will return this object after 652 /// tree nodes that have payload objects. We need to create a Token object 2074 /// you will want to create something special for identifier 2079 /// override this method to create the appropriate tokens.
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
H A D | DebugTreeAdaptor.java | 42 * cannot be tracked as they might not use the adaptor to create foo, bar. 56 public Object create(Token payload) { method in class:DebugTreeAdaptor 59 return create(payload.getType(), payload.getText()); 61 Object node = adaptor.create(payload); 78 // walk the tree and emit create and add child events 85 /** ^(A B C): emit create A, create B, add child, ...*/ 131 Object n = this.create(child); 136 Object n = this.create(newRoot); 142 public Object create(in method in class:DebugTreeAdaptor 148 public Object create(int tokenType, Token fromToken, String text) { method in class:DebugTreeAdaptor 154 public Object create(int tokenType, String text) { method in class:DebugTreeAdaptor [all...] |
H A D | ParseTreeBuilder.java | 49 ParseTree root = create("<grammar "+grammarName+">"); 57 /** What kind of node to create. You might want to override 60 public ParseTree create(Object payload) { method in class:ParseTreeBuilder 65 return create(EPSILON_PAYLOAD); 75 ParseTree ruleNode = create(ruleName); 92 ParseTree elementNode = create(token); 106 ParseTree errorNode = create(e);
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
H A D | BaseTreeAdaptor.java | 41 * expensive: we have to create a hashtable with all tree nodes in it. 47 return create(null); 50 /** create tree node that holds the start and stop tokens associated 179 return becomeRoot(create(newRoot), oldRoot); 182 public Object create(int tokenType, Token fromToken) { method in class:BaseTreeAdaptor 186 Tree t = (Tree)create(fromToken); 190 public Object create(int tokenType, Token fromToken, String text) { method in class:BaseTreeAdaptor 191 if (fromToken == null) return create(tokenType, text); 195 Tree t = (Tree)create(fromToken); 199 public Object create(in method in class:BaseTreeAdaptor [all...] |
H A D | BufferedTreeNodeStream.java | 134 down = adaptor.create(Token.DOWN, "DOWN"); 135 up = adaptor.create(Token.UP, "UP"); 136 eof = adaptor.create(Token.EOF, "EOF"); 193 navNode = adaptor.create(Token.DOWN, "DOWN"); 201 navNode = adaptor.create(Token.UP, "UP");
|
H A D | CommonTreeAdaptor.java | 40 * create(Token), errorNode(), and to be safe, YourTreeClass.dupNode(). 55 public Object create(Token payload) { method in class:CommonTreeAdaptor 59 /** Tell me how to create a token for use with imaginary token nodes. 61 * token DECL, but you need to create it as a payload or whatever for 71 /** Tell me how to create a token for use with imaginary token nodes. 73 * token DECL, but you need to create it as a payload or whatever for
|
H A D | RewriteRuleTokenStream.java | 59 return adaptor.create(t);
|
H A D | TreeAdaptor.java | 34 /** How to create and navigate trees. Rather than have a separate factory 48 * common create call. 52 public Object create(Token payload); method in interface:TreeAdaptor 157 * calls create(Token child) and then plain becomeRoot(node, node) 158 * because it needs to trap calls to create, but it can't since it delegates 169 public Object create(int tokenType, Token fromToken); method in interface:TreeAdaptor 171 /** Same as create(tokenType,fromToken) except set the text too. 177 public Object create(int tokenType, Token fromToken, String text); method in interface:TreeAdaptor 185 public Object create(int tokenType, String text); method in interface:TreeAdaptor 206 * lead you to the token, you can create [all...] |
H A D | TreeIterator.java | 66 down = adaptor.create(Token.DOWN, "DOWN"); 67 up = adaptor.create(Token.UP, "UP"); 68 eof = adaptor.create(Token.EOF, "EOF");
|
H A D | TreeParser.java | 93 return adaptor.create(new CommonToken(expectedTokenType, tokenText));
|
H A D | TreePatternParser.java | 139 // create node 145 node = adaptor.create(treeNodeType, text);
|
H A D | TreeWizard.java | 42 * In order to create nodes and navigate, this class needs a TreeAdaptor. 50 * patterns like "(A B C)". You can create a tree from that pattern or 96 public Object create(Token payload) { method in class:TreeWizard.TreePatternTreeAdaptor 378 public Object create(String pattern) { method in class:TreeWizard 437 * default is to create a
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/ |
H A D | BaseTreeAdaptor.js | 11 return this.create(null); 14 /** create tree node that holds the start and stop tokens associated 97 newRoot = this.create(newRoot); 139 create: function(tokenType, fromToken) { 145 t = this.create(fromToken); 150 t = this.create(fromToken); 158 t = this.create(fromToken);
|