net.refractions.udig.catalog.util
Interface AST


public interface AST

Use the visitor pattern to traverse the AST

Since:
0.6
Author:
David Zwiers, Refractions Research

Field Summary
static int AND
           
static int LITERAL
           
static int NOT
           
static int OR
           
 
Method Summary
 boolean accept(java.lang.String datum)
           
 AST getLeft()
          may be null
 AST getRight()
          may be null
 int type()
           
 

Field Detail

AND

static final int AND
See Also:
Constant Field Values

OR

static final int OR
See Also:
Constant Field Values

NOT

static final int NOT
See Also:
Constant Field Values

LITERAL

static final int LITERAL
See Also:
Constant Field Values
Method Detail

accept

boolean accept(java.lang.String datum)

type

int type()

getLeft

AST getLeft()
may be null


getRight

AST getRight()
may be null