Home
last modified time | relevance | path

Searched refs:becomeRoot (Results 1 – 25 of 61) sorted by relevance

123

/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
DDebugTreeAdaptor.java120 public Object becomeRoot(Object newRoot, Object oldRoot) { in becomeRoot() method in DebugTreeAdaptor
121 Object n = adaptor.becomeRoot(newRoot, oldRoot); in becomeRoot()
122 dbg.becomeRoot(newRoot, oldRoot); in becomeRoot()
135 public Object becomeRoot(Token newRoot, Object oldRoot) { in becomeRoot() method in DebugTreeAdaptor
137 adaptor.becomeRoot(n, oldRoot); in becomeRoot()
138 dbg.becomeRoot(newRoot, oldRoot); in becomeRoot()
DDebugEventRepeater.java83 public void becomeRoot(Object newRoot, Object oldRoot) { listener.becomeRoot(newRoot, oldRoot); } in becomeRoot() method in DebugEventRepeater
DDebugEventListener.java306 public void becomeRoot(Object newRoot, Object oldRoot); in becomeRoot() method
DBlankDebugEventListener.java72 public void becomeRoot(Object newRoot, Object oldRoot) {} in becomeRoot() method in BlankDebugEventListener
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3basetreeadaptor.c51 static pANTLR3_BASE_TREE becomeRoot (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE newRoo…
90 adaptor->becomeRoot = (void * (*)(pANTLR3_BASE_TREE_ADAPTOR, void *, void *)) in antlr3BaseTreeAdaptorInit()
91 becomeRoot; in antlr3BaseTreeAdaptorInit()
111 adaptor->becomeRoot = (void * (*)(pANTLR3_BASE_TREE_ADAPTOR, void *, void *)) in antlr3BaseTreeAdaptorInit()
620 becomeRoot (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE newRootTree, pANTLR3_BASE_TREE old… in becomeRoot() function
695 t = becomeRoot(adaptor, newRootTree, oldRootTree); in dbgBecomeRoot()
697 adaptor->debugger->becomeRoot(adaptor->debugger, newRootTree, oldRootTree); in dbgBecomeRoot()
742 return adaptor->becomeRoot(adaptor, adaptor->create(adaptor, newRoot), oldRoot); in becomeRootToken()
749 t = adaptor->becomeRoot(adaptor, adaptor->create(adaptor, newRoot), oldRoot); in dbgBecomeRootToken()
751 adaptor->debugger->becomeRoot(adaptor->debugger,t, oldRoot); in dbgBecomeRootToken()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
DBaseTreeAdaptor.java137 public Object becomeRoot(Object newRoot, Object oldRoot) { in becomeRoot() method in BaseTreeAdaptor
178 public Object becomeRoot(Token newRoot, Object oldRoot) { in becomeRoot() method in BaseTreeAdaptor
179 return becomeRoot(create(newRoot), oldRoot); in becomeRoot()
DTreeAdaptor.java122 public Object becomeRoot(Object newRoot, Object oldRoot); in becomeRoot() method
161 public Object becomeRoot(Token newRoot, Object oldRoot); in becomeRoot() method
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/
DASTParser.stg37 root_0 = this.adaptor.becomeRoot(<label>_tree, root_0);
89 …f ( <actions.(actionScope).synpredgate> ) <endif>root_0 = this.adaptor.becomeRoot(<createNodeFromT…
106 …f ( <actions.(actionScope).synpredgate> ) <endif>root_0 = this.adaptor.becomeRoot(<label>.getTree(…
143 root_0 = this.adaptor.becomeRoot(<label>_tree, root_0);
DAST.stg313 root_<treeLevel> = this.adaptor.becomeRoot(stream_<label>.nextNode(), root_<treeLevel>);<\n>
321 root_<treeLevel> = this.adaptor.becomeRoot(<createRewriteNodeFromElement(...)>, root_<treeLevel>);<…
329 root_<treeLevel> = this.adaptor.becomeRoot(<createImaginaryNode(tokenType=token, ...)>, root_<treeL…
349 root_<treeLevel> = this.adaptor.becomeRoot(stream_<rule>.nextNode(), root_<treeLevel>);<\n>
357 root_<treeLevel> = this.adaptor.becomeRoot(<action>, root_<treeLevel>);<\n>
372 root_<treeLevel> = this.adaptor.becomeRoot(stream_<label>.nextNode(), root_<treeLevel>);<\n>
377 root_<treeLevel> = this.adaptor.becomeRoot(stream_<label>.nextNode(), root_<treeLevel>);<\n>
DASTTreeParser.stg120 root_<treeLevel> = this.adaptor.becomeRoot(<label>_tree, root_<treeLevel>);
169 root_<treeLevel> = this.adaptor.becomeRoot(<label>_tree, root_<treeLevel>);
201 …ns.(actionScope).synpredgate> ) <endif>root_<treeLevel> = this.adaptor.becomeRoot(<label>.getTree(…
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
DAST.stg314 root_<treeLevel> = (<ASTLabelType>)adaptor.becomeRoot(stream_<label>.nextNode(), root_<treeLevel>);…
322 root_<treeLevel> = (<ASTLabelType>)adaptor.becomeRoot(<createRewriteNodeFromElement(...)>, root_<tr…
330 root_<treeLevel> = (<ASTLabelType>)adaptor.becomeRoot(<createImaginaryNode(token,terminalOptions,ar…
350 root_<treeLevel> = (<ASTLabelType>)adaptor.becomeRoot(stream_<rule>.nextNode(), root_<treeLevel>);<…
358 root_<treeLevel> = (<ASTLabelType>)adaptor.becomeRoot(<action>, root_<treeLevel>);<\n>
373 root_<treeLevel> = (<ASTLabelType>)adaptor.becomeRoot(stream_<label>.nextNode(), root_<treeLevel>);…
378 root_<treeLevel> = (<ASTLabelType>)adaptor.becomeRoot(stream_<label>.nextNode(), root_<treeLevel>);…
DASTParser.stg65 root_0 = (<ASTLabelType>)adaptor.becomeRoot(<label>_tree, root_0);
117 …s.(actionScope).synpredgate> ) <endif>root_0 = (<ASTLabelType>)adaptor.becomeRoot(<createNodeFromT…
134 …s.(actionScope).synpredgate> ) <endif>root_0 = (<ASTLabelType>)adaptor.becomeRoot(<label>.getTree(…
171 root_0 = (<ASTLabelType>)adaptor.becomeRoot(<label>_tree, root_0);
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
DAST.stg314 root_<treeLevel> = <ASTLabelType>(adaptor.becomeRoot(stream_<label>.nextNode(), root_<treeLevel>));…
322 root_<treeLevel> = <ASTLabelType>(adaptor.becomeRoot(<createRewriteNodeFromElement(...)>, root_<tre…
330 root_<treeLevel> = <ASTLabelType>(adaptor.becomeRoot(<createImaginaryNode(tokenType=token, ...)>, r…
350 root_<treeLevel> = <ASTLabelType>(adaptor.becomeRoot(stream_<rule>.nextNode(), root_<treeLevel>));<…
358 root_<treeLevel> = <ASTLabelType>(adaptor.becomeRoot(<action>, root_<treeLevel>));<\n>
373 root_<treeLevel> = <ASTLabelType>(adaptor.becomeRoot(stream_<label>.nextNode(), root_<treeLevel>));…
378 root_<treeLevel> = <ASTLabelType>(adaptor.becomeRoot(stream_<label>.nextNode(), root_<treeLevel>));…
DASTParser.stg66 root_0 = <ASTLabelType>(adaptor.becomeRoot(<label>_tree, root_0));
118 …ns.(actionScope).synpredgate> ) <endif>root_0 = <ASTLabelType>(adaptor.becomeRoot(<createNodeFromT…
135 …ns.(actionScope).synpredgate> ) <endif>root_0 = <ASTLabelType>(adaptor.becomeRoot(<label>.tree, ro…
172 root_0 = <ASTLabelType>(adaptor.becomeRoot(<label>_tree, root_0));
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestTrees.java177 adaptor.becomeRoot(newRoot, oldRoot); in testBecomeRoot()
190 adaptor.becomeRoot(newRoot, oldRoot); in testBecomeRoot2()
205 adaptor.becomeRoot(newRoot, oldRoot); in testBecomeRoot3()
219 adaptor.becomeRoot(newRoot, oldRoot); in testBecomeRoot5()
227 root_1 = (CommonTree)adaptor.becomeRoot(new CommonTree(new CommonToken(5)), root_1); in testBecomeRoot6()
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/
DAST.stg344 root_<treeLevel> = self._adaptor.becomeRoot(stream_<label>.nextNode(), root_<treeLevel>)<\n>
352 root_<treeLevel> = self._adaptor.becomeRoot(<createRewriteNodeFromElement(...)>, root_<treeLevel>)<…
360 root_<treeLevel> = self._adaptor.becomeRoot(<createImaginaryNode(token, terminalOptions, args)>, ro…
381 root_<treeLevel> = self._adaptor.becomeRoot(stream_<rule>.nextNode(), root_<treeLevel>)<\n>
389 root_<treeLevel> = self._adaptor.becomeRoot(<action>, root_<treeLevel>)<\n>
404 root_<treeLevel> = self._adaptor.becomeRoot(stream_<label>.nextNode(), root_<treeLevel>)<\n>
409 root_<treeLevel> = self._adaptor.becomeRoot(stream_<label>.nextNode(), root_<treeLevel>)<\n>
DASTParser.stg73 root_0 = self._adaptor.becomeRoot(<label>_tree, root_0)
125 <super.matchSet(postmatchCode={<finishedBacktracking({root_0 = self._adaptor.becomeRoot(<createNode…
142 <finishedBacktracking({root_0 = self._adaptor.becomeRoot(<label>.tree, root_0)})>
179 root_0 = self._adaptor.becomeRoot(<label>_tree, root_0)
/external/antlr/antlr-3.4/runtime/Python/antlr3/
Ddebug.py294 def becomeRoot(self, newRoot, oldRoot): member in DebugTreeAdaptor
297 self.adaptor.becomeRoot(n, oldRoot)
299 n = self.adaptor.becomeRoot(newRoot, oldRoot)
301 self.dbg.becomeRoot(newRoot, oldRoot)
687 def becomeRoot(self, newRoot, oldRoot): member in DebugEventListener
804 def becomeRoot(self, newRoot, oldRoot): member in TraceDebugEventListener
1092 def becomeRoot(self, newRoot, oldRoot): member in DebugEventSocketProxy
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRDebugTreeAdaptor.m121 - (id<ANTLRBaseTree>) becomeRoot:(id<ANTLRBaseTree>)newRoot old:(id<ANTLRBaseTree>)oldRoot
123 id<ANTLRBaseTree> newTree = [treeAdaptor becomeRoot:newRoot old:oldRoot];
124 …[debugListener becomeRoot:[treeAdaptor uniqueIdForTree:newTree] old:[self uniqueIdForTree:oldRoot]…
145 return [self becomeRoot:newNode old:oldRoot];
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
DASTParser.stg67 root_0 = (<ASTLabelType>)(ADAPTOR->becomeRoot(ADAPTOR, <label>_tree, root_0));
121 …(actionScope).synpredgate> ) <endif>root_0 = (<ASTLabelType>)(ADAPTOR->becomeRoot(ADAPTOR, <create…
138 …(actionScope).synpredgate> ) <endif>root_0 = (<ASTLabelType>)(ADAPTOR->becomeRoot(ADAPTOR, <label>…
175 root_0 = (<ASTLabelType>)(ADAPTOR->becomeRoot(ADAPTOR, <label>_tree, root_0));
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DASTParser.stg67 root_0 = (<ASTLabelType> *)[treeAdaptor becomeRoot:<label>_tree old:root_0];
127 root_0 = (<ASTLabelType> *)[treeAdaptor becomeRoot:<createNodeFromToken(...)> old:root_0];}, ...)>
148 root_0 = (<ASTLabelType> *)[treeAdaptor becomeRoot:[<label> getTree] old:root_0];
189 root_0 = (<ASTLabelType> *)[treeAdaptor becomeRoot:<label>_tree old:root_0];
DAST.stg470 root_<treeLevel> = (<ASTLabelType> *)[treeAdaptor becomeRoot:[stream_<label> nextNode] old:root_<tr…
478 root_<treeLevel> = (<ASTLabelType> *)[treeAdaptor becomeRoot:<createRewriteNodeFromElement(...)> ol…
486 root_<treeLevel> = (<ASTLabelType> *)[treeAdaptor becomeRoot:<createImaginaryNode(tokenType=token, …
506 root_<treeLevel> = (<ASTLabelType> *)[treeAdaptor becomeRoot:(id\<ANTLRTree>)[stream_<rule> nextNod…
514 root_<treeLevel> = (<ASTLabelType> *)[treeAdaptor becomeRoot:<action> old:root_<treeLevel>];<\n>
529 root_<treeLevel> = (<ASTLabelType> *)[treeAdaptor becomeRoot:[stream_<label> nextNode] old:root_<tr…
534 root_<treeLevel> = (<ASTLabelType> *)[treeAdaptor becomeRoot:[stream_<label> nextNode] old:root_<tr…
/external/smali/smali/src/main/java/org/jf/smali/
DsmaliParser.java670 …root_1 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(I_CLASS_DEF, "I_CLASS_DEF"), ro… in smali_file()
693 …root_2 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(I_METHODS, "I_METHODS"), root_2… in smali_file()
706 … root_2 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(I_FIELDS, "I_FIELDS"), root_2); in smali_file()
879 …root_1 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(I_SUPER, (retval.start), "I_SUP… in super_spec()
959 …root_1 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(I_IMPLEMENTS, (retval.start), "… in implements_spec()
1039 …root_1 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(I_SOURCE, (retval.start), "I_SO… in source_spec()
1138 …root_1 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(I_ACCESS_LIST, (retval.start), … in access_list()
1338 …root_1 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(I_FIELD, (retval.start), "I_FIE… in field()
1344 …root_2 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(I_FIELD_TYPE, "I_FIELD_TYPE"), … in field()
1354 …root_2 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(I_FIELD_INITIAL_VALUE, "I_FIELD… in field()
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/
DSimpleCParser.java220 … root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(FUNC_DECL, "FUNC_DECL"), root_1); in declaration()
265 … root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(FUNC_DEF, "FUNC_DEF"), root_1); in declaration()
358 … root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VAR_DEF, "VAR_DEF"), root_1); in variable()
564 … root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(FUNC_HDR, "FUNC_HDR"), root_1); in functionHeader()
657 … root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(ARG_DEF, "ARG_DEF"), root_1); in formalParameter()
866 … root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(BLOCK, lc, @"BLOCK"), root_1); in block()
1176 root_1 = (Object)adaptor.becomeRoot(stream_FOR.nextNode(), root_1); in forStat()
1266 root_1 = (Object)adaptor.becomeRoot(stream_EQ.nextNode(), root_1); in assignStat()
1415 root_0 = (Object)adaptor.becomeRoot(string_literal43_tree, root_0); in condExpr()
1425 root_0 = (Object)adaptor.becomeRoot(char_literal44_tree, root_0); in condExpr()
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/
DSimpleCParser.java220 … root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(FUNC_DECL, "FUNC_DECL"), root_1); in declaration()
265 … root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(FUNC_DEF, "FUNC_DEF"), root_1); in declaration()
358 … root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VAR_DEF, "VAR_DEF"), root_1); in variable()
564 … root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(FUNC_HDR, "FUNC_HDR"), root_1); in functionHeader()
657 … root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(ARG_DEF, "ARG_DEF"), root_1); in formalParameter()
866 … root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(BLOCK, lc, @"BLOCK"), root_1); in block()
1176 root_1 = (Object)adaptor.becomeRoot(stream_FOR.nextNode(), root_1); in forStat()
1266 root_1 = (Object)adaptor.becomeRoot(stream_EQ.nextNode(), root_1); in assignStat()
1415 root_0 = (Object)adaptor.becomeRoot(string_literal43_tree, root_0); in condExpr()
1425 root_0 = (Object)adaptor.becomeRoot(char_literal44_tree, root_0); in condExpr()
[all …]

123