Home
last modified time | relevance | path

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

123

/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/debug/
DDebugTreeAdaptor.java128 public Object becomeRoot(Object newRoot, Object oldRoot) { in becomeRoot() method in DebugTreeAdaptor
129 Object n = adaptor.becomeRoot(newRoot, oldRoot); in becomeRoot()
130 dbg.becomeRoot(newRoot, oldRoot); in becomeRoot()
145 public Object becomeRoot(Token newRoot, Object oldRoot) { in becomeRoot() method in DebugTreeAdaptor
147 adaptor.becomeRoot(n, oldRoot); in becomeRoot()
148 dbg.becomeRoot(newRoot, oldRoot); in becomeRoot()
DDebugEventRepeater.java83 …@Override public void becomeRoot(Object newRoot, Object oldRoot) { listener.becomeRoot(newRoot, ol… in becomeRoot() method in DebugEventRepeater
/external/antlr/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 (pANTLR3_BASE_TREE)adaptor->becomeRoot(adaptor, adaptor->create(adaptor, (pANTLR3_COMMON_TO… in becomeRootToken()
749 …t = (pANTLR3_BASE_TREE)adaptor->becomeRoot(adaptor, adaptor->create(adaptor, (pANTLR3_COMMON_TOKEN… in dbgBecomeRootToken()
751 adaptor->debugger->becomeRoot(adaptor->debugger,t, oldRoot); in dbgBecomeRootToken()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/tree/
DBaseTreeAdaptor.java143 public Object becomeRoot(Object newRoot, Object oldRoot) { in becomeRoot() method in BaseTreeAdaptor
186 public Object becomeRoot(Token newRoot, Object oldRoot) { in becomeRoot() method in BaseTreeAdaptor
187 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/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>
/external/antlr/tool/src/test/java/org/antlr/test/
DTestTrees.java180 adaptor.becomeRoot(newRoot, oldRoot); in testBecomeRoot()
193 adaptor.becomeRoot(newRoot, oldRoot); in testBecomeRoot2()
208 adaptor.becomeRoot(newRoot, oldRoot); in testBecomeRoot3()
222 adaptor.becomeRoot(newRoot, oldRoot); in testBecomeRoot5()
230 root_1 = (CommonTree)adaptor.becomeRoot(new CommonTree(new CommonToken(5)), root_1); in testBecomeRoot6()
/external/antlr/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, args, terminalOptions)>, 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.stg75 root_0 = self._adaptor.becomeRoot(<label>_tree, root_0)
127 <super.matchSet(postmatchCode={<finishedBacktracking({root_0 = self._adaptor.becomeRoot(<createNode…
144 <finishedBacktracking({root_0 = self._adaptor.becomeRoot(<label>.tree, root_0)})>
181 root_0 = self._adaptor.becomeRoot(<label>_tree, root_0)
/external/antlr/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/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(token,terminalOptions,arg…
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 …ns.(actionScope).synpredgate> ) <endif>root_0 = <ASTLabelType>(adaptor.becomeRoot(<createNodeFromT…
134 …ns.(actionScope).synpredgate> ) <endif>root_0 = <ASTLabelType>(adaptor.becomeRoot(<label>.tree, ro…
171 root_0 = <ASTLabelType>(adaptor.becomeRoot(<label>_tree, root_0));
/external/antlr/runtime/Python3/antlr3/
Ddebug.py301 def becomeRoot(self, newRoot, oldRoot): member in DebugTreeAdaptor
304 self.adaptor.becomeRoot(n, oldRoot)
306 n = self.adaptor.becomeRoot(newRoot, oldRoot)
308 self.dbg.becomeRoot(newRoot, oldRoot)
687 def becomeRoot(self, newRoot, oldRoot): member in DebugEventListener
804 def becomeRoot(self, newRoot, oldRoot): member in TraceDebugEventListener
1089 def becomeRoot(self, newRoot, oldRoot): member in DebugEventSocketProxy
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/
DAST.stg325 root_<treeLevel> = (<ASTLabelType>)adaptor.becomeRoot(stream_<label>.nextNode(), root_<treeLevel>);
333 root_<treeLevel> = (<ASTLabelType>)adaptor.becomeRoot(<createRewriteNodeFromElement(...)>, root_<tr…
341 root_<treeLevel> = (<ASTLabelType>)adaptor.becomeRoot(<createImaginaryNode(token,args,terminalOptio…
361 root_<treeLevel> = (<ASTLabelType>)adaptor.becomeRoot(stream_<rule>.nextNode(), root_<treeLevel>);
369 root_<treeLevel> = (<ASTLabelType>)adaptor.becomeRoot(<action>, root_<treeLevel>);
384 root_<treeLevel> = (<ASTLabelType>)adaptor.becomeRoot(stream_<label>.nextNode(), root_<treeLevel>);
389 root_<treeLevel> = (<ASTLabelType>)adaptor.becomeRoot(stream_<label>.nextNode(), root_<treeLevel>);
DASTParser.stg68 root_0 = (<ASTLabelType>)adaptor.becomeRoot(<label>_tree, root_0);
121 …s.(actionScope).synpredgate> ) <endif>root_0 = (<ASTLabelType>)adaptor.becomeRoot(<createNodeFromT…
140 …s.(actionScope).synpredgate> ) <endif>root_0 = (<ASTLabelType>)adaptor.becomeRoot(<label>.getTree(…
180 root_0 = (<ASTLabelType>)adaptor.becomeRoot(<label>_tree, root_0);
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python3/
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, args, terminalOptions)>, 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.stg75 root_0 = self._adaptor.becomeRoot(<label>_tree, root_0)
127 <super.matchSet(postmatchCode={<finishedBacktracking({root_0 = self._adaptor.becomeRoot(<createNode…
144 <finishedBacktracking({root_0 = self._adaptor.becomeRoot(<label>.tree, root_0)})>
181 root_0 = self._adaptor.becomeRoot(<label>_tree, root_0)
/external/antlr/runtime/ObjC/Framework/
DDebugTreeAdaptor.m121 - (id<BaseTree>) becomeRoot:(id<BaseTree>)newRoot old:(id<BaseTree>)oldRoot
123 id<BaseTree> 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/runtime/Cpp/include/
Dantlr3commontreeadaptor.hpp65 TreeType* becomeRoot( TreeType* newRoot, TreeType* oldRoot);
145 TreeType* becomeRoot( TreeType* newRootTree, TreeType* oldRootTree );
/external/antlr/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/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\<Tree>)[stream_<rule> nextNode] ol…
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/antlr/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/smali/smali/src/main/java/org/jf/smali/
DsmaliParser.java668 …root_1 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(I_CLASS_DEF, "I_CLASS_DEF"), ro… in smali_file()
691 …root_2 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(I_METHODS, "I_METHODS"), root_2… in smali_file()
704 … root_2 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(I_FIELDS, "I_FIELDS"), root_2); in smali_file()
877 …root_1 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(I_SUPER, (retval.start), "I_SUP… in super_spec()
957 …root_1 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(I_IMPLEMENTS, (retval.start), "… in implements_spec()
1037 …root_1 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(I_SOURCE, (retval.start), "I_SO… in source_spec()
1136 …root_1 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(I_ACCESS_LIST, (retval.start), … in access_list()
1336 …root_1 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(I_FIELD, (retval.start), "I_FIE… in field()
1342 …root_2 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(I_FIELD_TYPE, "I_FIELD_TYPE"), … in field()
1352 …root_2 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(I_FIELD_INITIAL_VALUE, "I_FIELD… in field()
[all …]

123