diff options
Diffstat (limited to 'src/grammar/WhereClause.java')
| -rw-r--r-- | src/grammar/WhereClause.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/grammar/WhereClause.java b/src/grammar/WhereClause.java new file mode 100644 index 0000000..d0d998a --- /dev/null +++ b/src/grammar/WhereClause.java @@ -0,0 +1,20 @@ +package grammar; + +/* Author: Sorin Stancu-Mara, Andrei Aiordachioaie +Date: 7 Feb 2007 +*/ + +public class WhereClause implements IParseTreeNode +{ + private BooleanScalarExpr expr; + + public WhereClause(BooleanScalarExpr e) + { + expr = e; + } + + public String toXML() + { + return "<where>" + expr.toXML() + "</where>"; + } +}
\ No newline at end of file |
