OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:CommonTree
(Results
1 - 13
of
13
) sorted by null
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
CommonTree.as
38
public class
CommonTree
extends BaseTree {
48
protected var _parent:
CommonTree
;
53
public function
CommonTree
(node:
CommonTree
= null) {
62
public static function createFromToken(t:Token):
CommonTree
{
63
var ct:
CommonTree
= new
CommonTree
();
73
return new
CommonTree
(this);
145
this._parent =
CommonTree
(t);
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
CommonTree.js
7
org.antlr.runtime.tree.
CommonTree
= function(node) {
23
if (node instanceof org.antlr.runtime.tree.
CommonTree
) {
24
org.antlr.runtime.tree.
CommonTree
.superclass.constructor.call(this, node);
34
org.antlr.lang.extend(org.antlr.runtime.tree.
CommonTree
, org.antlr.runtime.tree.BaseTree, {
40
return new org.antlr.runtime.tree.
CommonTree
(this);
135
new org.antlr.runtime.tree.
CommonTree
(org.antlr.runtime.Token.INVALID_TOKEN);
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
CommonTree.cs
46
public class
CommonTree
: BaseTree {
60
CommonTree
parent;
65
public
CommonTree
() {
68
public
CommonTree
(
CommonTree
node)
78
public
CommonTree
(IToken t) {
129
parent = (
CommonTree
)value;
185
return new
CommonTree
(this);
202
((
CommonTree
)Children[i]).SetUnknownTokenBoundaries();
207
CommonTree
firstChild = (CommonTree)Children[0]
[
all
...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
CommonTree.cs
46
public class
CommonTree
: BaseTree
60
CommonTree
parent;
65
public
CommonTree
()
69
public
CommonTree
(
CommonTree
node )
80
public
CommonTree
( IToken t )
158
parent = (
CommonTree
)value;
242
return new
CommonTree
( this );
263
CommonTree
commonTree
= childTree as CommonTree
[
all
...]
/external/antlr/antlr-3.4/runtime/Python/antlr3/
exceptions.py
137
from antlr3.tree import Tree,
CommonTree
168
if isinstance(self.node,
CommonTree
):
treewizard.py
41
from antlr3.tree import
CommonTree
, CommonTreeAdaptor
271
class TreePattern(
CommonTree
):
278
CommonTree
.__init__(self, payload)
286
return '%' + self.label + ':' +
CommonTree
.toString(self)
289
return
CommonTree
.toString(self)
tree.py
288
Create a tree node from Token object; for
CommonTree
type trees,
978
override this method.
CommonTree
returns Token.INVALID_TOKEN_TYPE
1072
if not isinstance(newRoot,
CommonTree
):
[
all
...]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
CommonTree.java
38
public class
CommonTree
extends BaseTree {
48
public
CommonTree
parent;
53
public
CommonTree
() { }
55
public
CommonTree
(
CommonTree
node) {
62
public
CommonTree
(Token t) {
71
return new
CommonTree
(this);
146
((
CommonTree
)children.get(i)).setUnknownTokenBoundaries();
150
CommonTree
firstChild = (
CommonTree
)children.get(0)
[
all
...]
/external/antlr/antlr-3.4/runtime/Python/unittests/
testtree.py
7
from antlr3.tree import (CommonTreeNodeStream,
CommonTree
, CommonTreeAdaptor,
25
t =
CommonTree
(CommonToken(101))
38
class V(
CommonTree
):
71
t =
CommonTree
(CommonToken(101))
72
t.addChild(
CommonTree
(CommonToken(102)))
73
t.getChild(0).addChild(
CommonTree
(CommonToken(103)))
74
t.addChild(
CommonTree
(CommonToken(104)))
87
root =
CommonTree
(None)
89
t =
CommonTree
(CommonToken(101))
90
t.addChild(
CommonTree
(CommonToken(102))
[
all
...]
testtreewizard.py
7
from antlr3.tree import CommonTreeAdaptor,
CommonTree
, INVALID_TOKEN_TYPE
149
self.failUnless(isinstance(tree,
CommonTree
))
159
self.failUnless(isinstance(tree,
CommonTree
))
169
self.failUnless(isinstance(tree,
CommonTree
))
182
self.failUnless(isinstance(tree,
CommonTree
))
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
tree.rb
130
return(
CommonTree
.new( tk ) )
448
=begin rdoc ANTLR3::AST::
CommonTree
452
A
CommonTree
object is a tree node that wraps a token <i>payload</i> (or a +nil+
472
class
CommonTree
< BaseTree
479
when
CommonTree
then # copy-constructor style init
606
class CommonErrorNode <
CommonTree
659
Constants::INVALID_NODE =
CommonTree
.new( ANTLR3::INVALID_TOKEN )
794
CommonTree
=== tree ? tree.token : nil
822
builds and manipulates
CommonTree
nodes.
844
new_root = create_with_payload( new_root ) unless
CommonTree
=== new_roo
[
all
...]
/external/antlr/antlr-3.4/lib/
antlr-3.4-complete.jar
/prebuilts/misc/common/antlr/
antlr-3.4-complete.jar
Completed in 2180 milliseconds