Package org.antlr.runtime3_3_0.tree

Examples of org.antlr.runtime3_3_0.tree.ParseTree


  public int getUnexpectedType() {
    if ( input instanceof TokenStream ) {
      return token.getType();
    }
    else if ( input instanceof TreeNodeStream ) {
      TreeNodeStream nodes = (TreeNodeStream)input;
      TreeAdaptor adaptor = nodes.getTreeAdaptor();
      return adaptor.getType(node);
    }
    else {
      return c;
    }
View Full Code Here

TOP

Related Classes of org.antlr.runtime3_3_0.tree.ParseTree

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.