Searched defs:tree (Results 1 - 25 of 351) sorted by relevance

1234567891011>>

/external/chromium_org/ui/wm/core/
H A Dwindow_util_unittest.cc34 scoped_ptr<ui::LayerTreeOwner> tree = local
39 ASSERT_EQ(1u, tree->root()->children().size());
41 EXPECT_NE(window11->layer(), tree->root()->children()[0]);
42 EXPECT_NE(window12->layer(), tree->root()->children()[0]);
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
H A DBaseTreeAdaptor.js2 org.antlr.runtime.tree.BaseTreeAdaptor = function() {
5 org.antlr.runtime.tree.TreeAdaptor = function() {};
7 org.antlr.lang.extend(org.antlr.runtime.tree.BaseTreeAdaptor,
8 org.antlr.runtime.tree.TreeAdaptor,
14 /** create tree node that holds the start and stop tokens associated
17 * If you specify your own kind of tree nodes, you will likely have to
23 var t = new org.antlr.runtime.tree.CommonErrorNode(input, start, stop, e);
27 isNil: function(tree) {
28 return tree.isNil();
32 * tree (no
[all...]
H A DBaseTree.js1 /** A generic tree implementation with no payload. You must subclass to
3 * instead of the child-sibling approach in v2. A flat tree (a list) is
7 org.antlr.runtime.tree.BaseTree = function() {};
9 org.antlr.lang.extend(org.antlr.runtime.tree.BaseTree,
10 org.antlr.runtime.tree.Tree,
127 * a list (nil-root tree). num of children can increase or decrease.
249 /** Print out a whole tree not just a node */
H A DCommonErrorNode.js1 org.antlr.runtime.tree.CommonErrorNode = function(input, start, stop, e) {
18 org.antlr.lang.extend(org.antlr.runtime.tree.CommonErrorNode, org.antlr.runtime.tree.CommonTree, {
37 else if ( this.start instanceof org.antlr.runtime.tree.Tree ) {
41 // people should subclass if they alter the tree type so this
H A DCommonTree.js1 /** A tree node that is wrapper for a Token object. After 3.0 release
2 * while building tree rewrite stuff, it became clear that computing
4 * spend the space in every tree node. If you don't want these extra
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);
33 /** A tree node that is wrapper for a Token object. */
34 org.antlr.lang.extend(org.antlr.runtime.tree.CommonTree, org.antlr.runtime.tree.BaseTree, {
40 return new org.antlr.runtime.tree
[all...]
H A DCommonTreeAdaptor.js4 * objects, you need to override this and then set the parser tree adaptor to
10 org.antlr.runtime.tree.CommonTreeAdaptor = function() {};
12 org.antlr.lang.extend(org.antlr.runtime.tree.CommonTreeAdaptor,
13 org.antlr.runtime.tree.BaseTreeAdaptor, {
29 return org.antlr.runtime.tree.CommonTreeAdaptor.superclass.create.apply(this, arguments);
31 return new org.antlr.runtime.tree.CommonTree(payload);
130 if ( t instanceof org.antlr.runtime.tree.CommonTree ) {
H A DCommonTreeNodeStream.js1 /** A buffered stream of tree nodes. Nodes can be from a tree of ANY kind.
3 * This node stream sucks all nodes out of the tree specified in
5 * the tree using an array of Object pointers. The stream necessarily
10 * This stream is most suitable for tree interpreters that need to
11 * jump around a lot or for tree parsers requiring speed (at cost of memory).
13 * but just in bookkeeping, not tree walking etc...
17 org.antlr.runtime.tree.CommonTreeNodeStream = function(adaptor,
18 tree,
22 tree
[all...]
H A DRewriteCardinalityException.js1 org.antlr.runtime.tree.RewriteCardinalityException = function(elementDescription) {
9 org.antlr.lang.extend(org.antlr.runtime.tree.RewriteCardinalityException, Error, {
17 return "org.antlr.runtime.tree.RewriteCardinalityException";
H A DRewriteEarlyExitException.js2 org.antlr.runtime.tree.RewriteEarlyExitException = function(elementDescription) {
3 var sup = org.antlr.runtime.tree.RewriteEarlyExitException.superclass;
10 org.antlr.lang.extend(org.antlr.runtime.tree.RewriteEarlyExitException,
11 org.antlr.runtime.tree.RewriteCardinalityException, {
13 return "org.antlr.runtime.tree.RewriteEarlyExitException";
H A DRewriteEmptyStreamException.js2 org.antlr.runtime.tree.RewriteEmptyStreamException = function(elementDescription) {
3 var sup = org.antlr.runtime.tree.RewriteEmptyStreamException.superclass;
7 org.antlr.lang.extend(org.antlr.runtime.tree.RewriteEmptyStreamException,
8 org.antlr.runtime.tree.RewriteCardinalityException, {
10 return "org.antlr.runtime.tree.RewriteEmptyStreamException";
H A DRewriteRuleNodeStream.js1 /** Queues up nodes matched on left side of -> in a tree parser. This is
4 org.antlr.runtime.tree.RewriteRuleNodeStream = function(adaptor, elementDescription, el) {
5 org.antlr.runtime.tree.RewriteRuleNodeStream.superclass.constructor.apply(this, arguments);
8 org.antlr.lang.extend(org.antlr.runtime.tree.RewriteRuleNodeStream,
9 org.antlr.runtime.tree.RewriteRuleElementStream,
H A DRewriteRuleSubtreeStream.js1 org.antlr.runtime.tree.RewriteRuleSubtreeStream = function() {
2 var sup = org.antlr.runtime.tree.RewriteRuleSubtreeStream.superclass;
6 org.antlr.lang.extend(org.antlr.runtime.tree.RewriteRuleSubtreeStream,
7 org.antlr.runtime.tree.RewriteRuleElementStream, {
10 * tree root node. Also prevents us from duplicating recently-added
14 * Referencing a rule result twice is ok; dup entire tree as
19 * and super.next() doesn't know which to call: dup node or dup tree.
H A DRewriteRuleTokenStream.js1 org.antlr.runtime.tree.RewriteRuleTokenStream = function(adaptor, elementDescription, el) {
2 var sup = org.antlr.runtime.tree.RewriteRuleTokenStream.superclass;
6 org.antlr.lang.extend(org.antlr.runtime.tree.RewriteRuleTokenStream,
7 org.antlr.runtime.tree.RewriteRuleElementStream, {
18 /** Don't convert to a tree unless they explicitly call nextTree.
19 * This way we can do hetero tree nodes in rewrite.
H A DTree.js1 /** What does a tree look like? ANTLR has a number of support classes
6 * NOTE: When constructing trees, ANTLR can build any kind of tree; it can
9 * This is a tree node without any payload; just navigation and factory stuff.
11 org.antlr.runtime.tree.Tree = function(){};
H A DTreeNodeStream.js1 /** A stream of tree nodes, accessing nodes from a tree of some kind */
2 org.antlr.runtime.tree.TreeNodeStream = function() {};
4 org.antlr.lang.extend(org.antlr.runtime.tree.TreeNodeStream,
H A DTreeParser.js1 /** A parser for a stream of tree nodes. "tree grammars" result in a subclass
5 org.antlr.runtime.tree.TreeParser = function(input) {
6 org.antlr.runtime.tree.TreeParser.superclass.constructor.call(this, arguments[1]);
11 var TP = org.antlr.runtime.tree.TreeParser;
46 return new org.antlr.runtime.tree.CommonTree(new org.antlr.runtime.CommonToken(expectedTokenType, tokenText));
49 /** Match '.' in tree parser has special meaning. Skip node or
50 * entire tree if node has children. If children, scan until
83 * * from tree parser errors inline...
91 * the input tree no
[all...]
H A DTreeRuleReturnScope.js2 * the start property is a tree nodes not Token object
3 * when you are parsing trees. To be generic the tree node types
6 org.antlr.runtime.tree.TreeRuleReturnScope = function(){};
8 org.antlr.lang.extend(org.antlr.runtime.tree.TreeRuleReturnScope,
H A DRewriteRuleElementStream.js9 * @see org.antlr.runtime.tree.RewriteRuleSubtreeStream
10 * @see org.antlr.runtime.tree.RewriteRuleTokenStream
14 org.antlr.runtime.tree.RewriteRuleElementStream = function(adaptor, elementDescription, el) {
42 org.antlr.runtime.tree.RewriteRuleElementStream.prototype = {
91 * a tree node or subtree. Deal with the optimization of single-
99 throw new org.antlr.runtime.tree.RewriteEmptyStreamException(this.elementDescription);
106 throw new org.antlr.runtime.tree.RewriteCardinalityException(this.elementDescription);
/external/smali/util/src/main/java/ds/tree/
H A DDuplicateKeyException.java25 package ds.tree;
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
H A DAntlrRuntime_BaseTreeDebugView.cs41 public AntlrRuntime_BaseTreeDebugView(BaseTree tree) argument
43 _tree = tree;
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
H A DTreeExtensions.cs39 public static ITree getNextSibling( this ITree tree )
41 return tree.Parent.GetChild( tree.ChildIndex + 1 );
45 public static void setFirstChild( this ITree tree, ITree child ) argument
47 if ( tree.ChildCount == 0 )
48 tree.AddChild( child );
50 tree.SetChild( 0, child );
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
H A DRewriteCardinalityException.java28 package org.antlr.runtime.tree;
H A DRewriteEarlyExitException.java28 package org.antlr.runtime.tree;
H A DRewriteEmptyStreamException.java28 package org.antlr.runtime.tree;
H A DTreeRuleReturnScope.java28 package org.antlr.runtime.tree;
33 * the start property is a tree nodes not Token object
34 * when you are parsing trees. To be generic the tree node types
38 /** First node or root node of tree matched for this rule. */

Completed in 1126 milliseconds

1234567891011>>