Searched refs:create (Results 1 - 25 of 2598) sorted by path

1234567891011>>

/external/antlr/antlr-3.4/gunit/src/main/antlr3/org/antlr/gunit/swingui/parsers/
H A DANTLRv3.g104 -> ^( {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 Dantlr-3.4-complete.jarMETA-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 DFlexAntTasks.jarMETA-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 DBaseRecognizer.as627 * you will want to create something special for identifier
632 * override this method to create the appropriate tokens.
H A DRecognizerSharedState.as59 /** 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 DBaseTreeAdaptor.as13 * 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 DTreeAdaptor.as32 /** 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 Dantlr3basetreeadaptor.h93 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 Dantlr3basetreeadaptor.c386 // 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 Dantlr3commontreeadaptor.c47 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 Dantlr3rewritestreams.c210 // 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 DAntlr.Runtime.Tree.pas51 /// 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 DAntlr.Runtime.pas590 /// 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 DDebugTreeAdaptor.java42 * 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 DParseTreeBuilder.java49 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 DBaseTreeAdaptor.java41 * 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 DBufferedTreeNodeStream.java134 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 DCommonTreeAdaptor.java40 * 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 DRewriteRuleTokenStream.java59 return adaptor.create(t);
H A DTreeAdaptor.java34 /** 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 DTreeIterator.java66 down = adaptor.create(Token.DOWN, "DOWN");
67 up = adaptor.create(Token.UP, "UP");
68 eof = adaptor.create(Token.EOF, "EOF");
H A DTreeParser.java93 return adaptor.create(new CommonToken(expectedTokenType, tokenText));
H A DTreePatternParser.java139 // create node
145 node = adaptor.create(treeNodeType, text);
H A DTreeWizard.java42 * 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 DBaseTreeAdaptor.js11 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);

Completed in 824 milliseconds

1234567891011>>