HomeSort by relevance Sort by last modified time
    Searched defs:Tree (Results 26 - 50 of 98) sorted by null

12 3 4

  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
TemplateTreeRuleReturnScope`2.cs 33 namespace Antlr.Runtime.Tree
TreeFilter.cs 33 namespace Antlr.Runtime.Tree
90 // to override, just define tree grammar rule topdown and turn on
CommonErrorNode.cs 33 namespace Antlr.Runtime.Tree
94 // people should subclass if they alter the tree type so this
DotTreeGenerator.cs 33 namespace Antlr.Runtime.Tree
40 * can pass in any kind of tree or use Tree interface method.
42 * ST just to use the org.antlr.runtime.tree.* package.
51 * Tree t = (Tree)r.tree;
80 /** Generate DOT (graphviz) for a whole tree not just a node.
93 * Takes a Tree interface object.
95 public virtual string ToDot( object tree, ITreeAdaptor adaptor
    [all...]
ITreeNodeStream.cs 33 namespace Antlr.Runtime.Tree
35 /** <summary>A stream of tree nodes, accessing nodes from a tree of some kind</summary> */
39 * Get a tree node at an absolute index i; 0..n-1.
50 * Get tree node at current input pointer + i ahead where i=1 is next node.
60 * returns a tree node instead of a token. Makes code gen identical
61 * for both parser and tree grammars. :)
77 * If the tree associated with this stream was created from a TokenStream,
78 * you can specify it here. Used to do rule $text attribute in tree
79 * parser. Optional unless you use tree parser rule text attribut
    [all...]
ParseTree.cs 33 namespace Antlr.Runtime.Tree
41 * end up as the leaves of this tree and rule nodes are the interior nodes.
142 * Print out the leaves of this tree, which means printing original
TreePatternParser.cs 33 namespace Antlr.Runtime.Tree
TreeRewriter.cs 33 namespace Antlr.Runtime.Tree
79 if (showTransformations && r != null && !t.Equals(r.Tree) && r.Tree != null)
80 ReportTransformation(t, r.Tree);
82 if ( r != null && r.Tree != null )
83 return r.Tree;
120 // to override, just define tree grammar rule topdown and turn on
TreeRuleReturnScope`1.cs 33 namespace Antlr.Runtime.Tree
37 * the start property is a tree nodes not Token object
46 /** <summary>Gets the first node or root node of tree matched for this rule.</summary> */
RewriteRuleElementStream.cs 33 namespace Antlr.Runtime.Tree
169 * a tree node or subtree. Deal with the optimization of single-
207 * the element is for a tree root; then it must be a node dup.
TreeIterator.cs 33 namespace Antlr.Runtime.Tree
37 /** Return a node stream from a doubly-linked tree whose nodes
40 * Emit navigation nodes (DOWN, UP, and EOF) to let show tree structure.
46 protected object tree; field in class:Antlr.Runtime.Tree.TreeIterator
60 public TreeIterator( CommonTree tree )
61 : this( new CommonTreeAdaptor(), tree )
65 public TreeIterator( ITreeAdaptor adaptor, object tree )
68 this.tree = tree;
69 this.root = tree;
    [all...]
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/Tree/
ITreeFactory.cs 33 namespace Antlr.Runtime.Tree
41 TTree CloneTree( TTree tree );
ITreeNodeStream`1.cs 33 namespace Antlr.Runtime.Tree
38 * Get a tree node at an absolute index i; 0..n-1.
49 * Get tree node at current input pointer + i ahead where i=1 is next node.
59 * returns a tree node instead of a token. Makes code gen identical
60 * for both parser and tree grammars. :)
76 * If the tree associated with this stream was created from a TokenStream,
77 * you can specify it here. Used to do rule $text attribute in tree
78 * parser. Optional unless you use tree parser rule text attribute
98 * As we flatten the tree, we use UP, DOWN nodes to represent
99 * the tree structure. When debugging we need unique node
    [all...]
  /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
CommonErrorNode.cs 33 namespace Antlr.Runtime.Tree {
80 // people should subclass if they alter the tree type so this
DotTreeGenerator.cs 33 namespace Antlr.Runtime.Tree
40 * can pass in any kind of tree or use Tree interface method.
42 * ST just to use the org.antlr.runtime.tree.* package.
51 * Tree t = (Tree)r.tree;
80 /** Generate DOT (graphviz) for a whole tree not just a node.
93 * Takes a Tree interface object.
95 public virtual string ToDot( object tree, ITreeAdaptor adaptor
    [all...]
ITreeNodeStream.cs 33 namespace Antlr.Runtime.Tree {
34 /** <summary>A stream of tree nodes, accessing nodes from a tree of some kind</summary> */
37 * Get a tree node at an absolute index i; 0..n-1.
47 * Get tree node at current input pointer + i ahead where i=1 is next node.
57 * returns a tree node instead of a token. Makes code gen identical
58 * for both parser and tree grammars. :)
73 * If the tree associated with this stream was created from a TokenStream,
74 * you can specify it here. Used to do rule $text attribute in tree
75 * parser. Optional unless you use tree parser rule text attribut
    [all...]
ParseTree.cs 33 namespace Antlr.Runtime.Tree {
40 * end up as the leaves of this tree and rule nodes are the interior nodes.
120 * Print out the leaves of this tree, which means printing original
TreeFilter.cs 33 namespace Antlr.Runtime.Tree
42 Now, how are we going to test these tree patterns against every
43 subtree in our original tree? In what order should we visit nodes?
45 rule application strategy and a ``down then up'' tree traversal
49 a pattern matches, we execute the associated tree rewrite and move on
53 TreeParser (derived from a tree grammar) to a tree:
58 tree parser class (@cl Simplify in this case). Most of the time, the
59 rule will not match the tree. To avoid issuing syntax errors and
63 the details. This method boils down to ``call a rule to match a tree,
    [all...]
TreeIterator.cs 33 namespace Antlr.Runtime.Tree {
36 /** Return a node stream from a doubly-linked tree whose nodes
39 * Emit navigation nodes (DOWN, UP, and EOF) to let show tree structure.
44 protected object tree; field in class:Antlr.Runtime.Tree.TreeIterator
57 public TreeIterator(object tree)
58 : this(new CommonTreeAdaptor(), tree) {
61 public TreeIterator(ITreeAdaptor adaptor, object tree) {
63 this.tree = tree;
64 this.root = tree;
    [all...]
TreePatternParser.cs 33 namespace Antlr.Runtime.Tree {
TreeRewriter.cs 33 namespace Antlr.Runtime.Tree {
70 if (r != null && !t.Equals(r.Tree) && r.Tree != null) {
73 ((CommonTree)(object)r.Tree).ToStringTree());
77 if (r != null && r.Tree != null)
78 return r.Tree;
103 // to override, just define tree grammar rule topdown and turn on
CommonTreeAdaptor.cs 33 namespace Antlr.Runtime.Tree {
36 * A TreeAdaptor that works with any Tree implementation. It provides
39 * objects, you need to override this and then set the parser tree adaptor to
111 * Only works with Tree nodes. For rules that match nothing,
RewriteRuleElementStream.cs 33 namespace Antlr.Runtime.Tree {
157 * a tree node or subtree. Deal with the optimization of single-
190 * the element is for a tree root; then it must be a node dup.
TreePatternLexer.cs 33 namespace Antlr.Runtime.Tree {
46 /** <summary>The tree pattern to lex like "(A B C)"</summary> */
  /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Utility/Antlr.Utility.Tree/
DOTTreeGenerator.cs 33 namespace Antlr.Runtime.Tree {
39 * can pass in any kind of tree or use Tree interface method.
41 * ST just to use the org.antlr.runtime.tree.* package.
50 * Tree t = (Tree)r.tree;
78 /** Generate DOT (graphviz) for a whole tree not just a node.
91 * Takes a Tree interface object.
93 public virtual string ToDot(object tree, ITreeAdaptor adaptor)
    [all...]

Completed in 275 milliseconds

12 3 4