org.basex.query
Class ExprInfo

java.lang.Object
  extended by org.basex.query.ExprInfo
Direct Known Subclasses:
Expr, FTOpt, Functions, Variables, Vars

public abstract class ExprInfo
extends Object

Expression information.

Author:
Workgroup DBIS, University of Konstanz 2005-10, ISC License, Christian Gruen

Constructor Summary
ExprInfo()
           
 
Method Summary
 String color()
          Returns a color string for the expression.
 String info()
          Returns a string description of the expression.
 String name()
          Returns the simplified class name.
abstract  void plan(Serializer ser)
          Recursively sends the abstract syntax of this expression to the specified serializer.
abstract  String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExprInfo

public ExprInfo()
Method Detail

color

public String color()
Returns a color string for the expression.

Returns:
color

info

public String info()
Returns a string description of the expression. Contrary to the toString() method, arguments are not included in the output.

Returns:
result of check

name

public String name()
Returns the simplified class name.

Returns:
class name

plan

public abstract void plan(Serializer ser)
                   throws IOException
Recursively sends the abstract syntax of this expression to the specified serializer.

Parameters:
ser - serializer
Throws:
IOException - I/O exception

toString

public abstract String toString()
Overrides:
toString in class Object