com.senseidb.bql.parsers
Class AbstractCompiler

java.lang.Object
  extended by com.senseidb.bql.parsers.AbstractCompiler
Direct Known Subclasses:
BQLCompiler

public abstract class AbstractCompiler
extends Object


Constructor Summary
AbstractCompiler()
           
 
Method Summary
abstract  org.json.JSONObject compile(String expression)
           
abstract  String getErrorMessage(org.antlr.runtime.RecognitionException error)
           
protected  void printTree(org.antlr.runtime.tree.CommonTree ast)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCompiler

public AbstractCompiler()
Method Detail

compile

public abstract org.json.JSONObject compile(String expression)
                                     throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

getErrorMessage

public abstract String getErrorMessage(org.antlr.runtime.RecognitionException error)

printTree

protected void printTree(org.antlr.runtime.tree.CommonTree ast)


Copyright © 2010-2012. All Rights Reserved.