Home
last modified time | relevance | path

Searched refs:singleElement (Results 1 – 11 of 11) sorted by relevance

/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DRewriteRuleElementStream.cs66 protected object singleElement; field in Antlr.Runtime.Tree.RewriteRuleElementStream
105 this.singleElement = null; in RewriteRuleElementStream()
134 if ( singleElement == null ) in Add()
136 singleElement = el; in Add()
141 elements.Add( singleElement ); in Add()
142 singleElement = null; in Add()
186 return ToTree( singleElement ); in NextCore()
192 if ( singleElement != null ) in NextCore()
195 return ToTree( singleElement ); in NextCore()
226 return ( singleElement != null && cursor < 1 ) ||
[all …]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DRewriteRuleElementStream.cs64 protected object singleElement; field in Antlr.Runtime.Tree.RewriteRuleElementStream
100 this.singleElement = null; in RewriteRuleElementStream()
125 if (singleElement == null) { // no elements yet, track w/o list in Add()
126 singleElement = el; in Add()
131 elements.Add(singleElement); in Add()
132 singleElement = null; in Add()
170 return ToTree(singleElement); in NextCore()
176 if (singleElement != null) { in NextCore()
178 return ToTree(singleElement); in NextCore()
206 return (singleElement != null && cursor < 1) ||
[all …]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
DRewriteRuleElementStream.java53 protected Object singleElement; field in RewriteRuleElementStream
97 this.singleElement = null; in RewriteRuleElementStream()
120 if ( singleElement == null ) { // no elements yet, track w/o list in add()
121 singleElement = el; in add()
126 elements.add(singleElement); in add()
127 singleElement = null; in add()
161 return toTree(singleElement); in _next()
167 if ( singleElement!=null ) { in _next()
169 return toTree(singleElement); in _next()
192 return (singleElement != null && cursor < 1) || in hasNext()
[all …]
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
DRewriteRuleElementStream.js34 this.singleElement = null;
61 if ( !org.antlr.lang.isValue(this.singleElement) ) { // no elements yet, track w/o list
62 this.singleElement = el;
67 this.elements.push(this.singleElement);
68 this.singleElement = null;
103 return this.toTree(this.singleElement);
109 if ( org.antlr.lang.isValue(this.singleElement) ) {
111 return this.toTree(this.singleElement);
130 return (org.antlr.lang.isValue(this.singleElement) && this.cursor < 1) ||
136 if ( org.antlr.lang.isValue(this.singleElement) ) {
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRRewriteRuleElementStream.m34 @synthesize singleElement;
73 singleElement = nil;
88 singleElement = nil;
104 singleElement = nil;
116 if ( singleElement && isSingleElement ) [singleElement release];
151 if (singleElement == nil) {
152 singleElement = anElement;
153 singleElement = [anElement retain];
158 [elements addObject:singleElement];
159 singleElement = nil; // balance previous retain in initializer/addElement
[all …]
DANTLRRewriteRuleElementStream.h35 id singleElement; variable
45 @property (assign) id singleElement;
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3rewritestreams.c154 if (stream->singleElement != NULL) in freeNodeRS()
156 tree = (pANTLR3_BASE_TREE)(stream->singleElement); in freeNodeRS()
163 stream->singleElement = NULL; in freeNodeRS()
237 stream->singleElement = NULL; in antlr3RewriteRuleElementStreamNewAE()
537 if (stream->singleElement == NULL) in add()
539 stream->singleElement = el; in add()
555 stream->elements->add (stream->elements, stream->singleElement, freePtr); in add()
557 stream->singleElement = NULL; in add()
647 return stream->toTree(stream, stream->singleElement); in _next()
659 if (stream->singleElement != NULL) in _next()
[all …]
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
DRewriteRuleElementStream.as44 /** Cursor 0..n-1. If singleElement!=null, cursor is 0 until you next(),
50 protected var singleElement:Object;
106 if ( singleElement == null ) { // no elements yet, track w/o list
107 singleElement = el;
112 elements.push(singleElement);
113 singleElement = null;
148 return toTree(singleElement);
154 if ( singleElement!=null ) {
156 return toTree(singleElement);
181 return (singleElement != null && cursor < 1) ||
[all …]
/external/antlr/antlr-3.4/runtime/Python/antlr3/
Dtree.py2586 self.singleElement = None
2606 self.singleElement = None
2634 if self.singleElement is None: # no elements yet, track w/o list
2635 self.singleElement = el
2640 self.elements.append(self.singleElement)
2641 self.singleElement = None
2680 return self.toTree(self.singleElement)
2686 if self.singleElement is not None:
2688 return self.toTree(self.singleElement)
2717 return ( (self.singleElement is not None and self.cursor < 1)
[all …]
/external/antlr/antlr-3.4/runtime/C/include/
Dantlr3rewritestreams.h72 void * singleElement; member
/external/antlr/antlr-3.4/lib/
Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/ ...