com.espertech.esper.antlr
Class ASTUtil

java.lang.Object
  extended by com.espertech.esper.antlr.ASTUtil

public class ASTUtil
extends Object

Utility class for AST node handling.


Constructor Summary
ASTUtil()
           
 
Method Summary
static void dumpAST(org.antlr.runtime.tree.Tree ast)
          Dump the AST node to system.out.
static void printTokens(org.antlr.runtime.CommonTokenStream tokens)
          Print the token stream to the logger.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASTUtil

public ASTUtil()
Method Detail

dumpAST

public static void dumpAST(org.antlr.runtime.tree.Tree ast)
Dump the AST node to system.out.

Parameters:
ast - to dump

printTokens

public static void printTokens(org.antlr.runtime.CommonTokenStream tokens)
Print the token stream to the logger.

Parameters:
tokens - to print

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com