From 0f1055b8d7f97d86c66fa602c17666bc2ff9c437 Mon Sep 17 00:00:00 2001 From: Constantin Jucovschi Date: Tue, 31 Mar 2009 06:18:54 -0400 Subject: Initial commit --- src/grammar/FieldInterpolationElement.java | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/grammar/FieldInterpolationElement.java (limited to 'src/grammar/FieldInterpolationElement.java') diff --git a/src/grammar/FieldInterpolationElement.java b/src/grammar/FieldInterpolationElement.java new file mode 100644 index 0000000..26c65c5 --- /dev/null +++ b/src/grammar/FieldInterpolationElement.java @@ -0,0 +1,26 @@ +package grammar; + +/** FieldInterpolationElement + * + * @author Andrei Aiordachioaie + */ +public class FieldInterpolationElement implements IParseTreeNode +{ + + String name; + IParseTreeNode node; + + public FieldInterpolationElement(String name, InterpolationMethod method) + { + this.name = name; + node = method; + } + + public String toXML() + { + String result = "" + name + "" + node.toXML(); + + return result; + } + +} -- cgit