update the comment

[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9041]
This commit is contained in:
parrt 2011-09-04 13:49:40 -08:00
parent 32a375bbf7
commit 5c35165873
1 changed files with 3 additions and 2 deletions

View File

@ -32,12 +32,13 @@ package org.antlr.v4.runtime.tree;
import org.antlr.v4.runtime.misc.Interval; import org.antlr.v4.runtime.misc.Interval;
/** A tree that knows about an interval in a token stream /** A tree that knows about an interval in a token stream
* is some kind of syntax tree. * is some kind of syntax tree. Subinterfaces distinguish
* between parse trees and ASTs.
*/ */
public interface SyntaxTree extends Tree { public interface SyntaxTree extends Tree {
/** Return an interval indicating the index in the TokenStream of /** Return an interval indicating the index in the TokenStream of
* the 1st and last token associated with this subtree. If this * the 1st and last token associated with this subtree. If this
* note choose to use a leaf, then the interval represents a single token. * node is a leaf, then the interval represents a single token.
* *
* If source interval is unknown, this does not return null. * If source interval is unknown, this does not return null.
* It returns an interval of length 0. * It returns an interval of length 0.