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/InterpolationMethod.java | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/grammar/InterpolationMethod.java (limited to 'src/grammar/InterpolationMethod.java') diff --git a/src/grammar/InterpolationMethod.java b/src/grammar/InterpolationMethod.java new file mode 100644 index 0000000..72619c5 --- /dev/null +++ b/src/grammar/InterpolationMethod.java @@ -0,0 +1,26 @@ +package grammar; + +/** InterpolationMethod + * + * @author Andrei Aiordachioaie + */ +public class InterpolationMethod implements IParseTreeNode +{ + + String interp, resistance; + + public InterpolationMethod(String interp, String resist) + { + this.interp = interp; + this.resistance = resist; + } + + public String toXML() + { + String result = ""; + result += "" + interp + ""; + result += "" + resistance + ""; + return result; + } + +} -- cgit