OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:newRootTree
(Results
1 - 7
of
7
) sorted by null
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/tree/
BaseTreeAdaptor.js
100
var
newRootTree
= newRoot,
106
if (
newRootTree
.isNil() ) {
107
var nc =
newRootTree
.getChildCount();
109
newRootTree
=
newRootTree
.getChild(0);
118
newRootTree
.addChild(oldRootTree);
119
return
newRootTree
;
/external/antlr/runtime/C/src/
antlr3basetreeadaptor.c
620
becomeRoot (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE
newRootTree
, pANTLR3_BASE_TREE oldRootTree)
628
if (
newRootTree
== NULL)
638
return
newRootTree
;
643
if (
newRootTree
->isNilNode(
newRootTree
))
645
if (
newRootTree
->getChildCount(
newRootTree
) > 1)
650
return
newRootTree
;
656
saveRoot =
newRootTree
;
657
newRootTree
= (pANTLR3_BASE_TREE)newRootTree->getChild(newRootTree, 0)
[
all
...]
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
BaseTreeAdaptor.cs
155
ITree
newRootTree
= (ITree)newRoot;
161
if (
newRootTree
.IsNil) {
162
int nc =
newRootTree
.ChildCount;
164
newRootTree
= (ITree)
newRootTree
.GetChild(0);
173
newRootTree
.AddChild(oldRootTree);
174
return
newRootTree
;
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/tree/
BaseTreeAdaptor.java
145
Tree
newRootTree
= (Tree)newRoot;
151
if (
newRootTree
.isNil() ) {
152
int nc =
newRootTree
.getChildCount();
153
if ( nc==1 )
newRootTree
=
newRootTree
.getChild(0);
162
newRootTree
.addChild(oldRootTree);
163
return
newRootTree
;
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
BaseTreeAdaptor.cs
190
ITree
newRootTree
= (ITree)newRoot;
197
if (
newRootTree
.IsNil )
199
int nc =
newRootTree
.ChildCount;
201
newRootTree
= (ITree)
newRootTree
.GetChild( 0 );
211
newRootTree
.AddChild( oldRootTree );
212
return
newRootTree
;
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/tree/
BaseTreeAdaptor.as
114
var
newRootTree
:Tree = Tree(newRoot);
120
if (
newRootTree
.isNil ) {
121
var nc:int =
newRootTree
.childCount;
122
if ( nc==1 )
newRootTree
= Tree(
newRootTree
.getChild(0));
131
newRootTree
.addChild(oldRootTree);
132
return
newRootTree
;
/external/antlr/runtime/Cpp/include/
antlr3commontreeadaptor.hpp
145
TreeType* becomeRoot( TreeType*
newRootTree
, TreeType* oldRootTree );
Completed in 490 milliseconds