From 1ef39e828479f0d82753f3912b7c5d85e49d708c Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Thu, 20 Jul 2017 15:43:38 +0200 Subject: Working on the "internal_process.py" translation. I think I've found some not-too-ugly solution. --- ast-to-instr/src/VHDLNode.java | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 ast-to-instr/src/VHDLNode.java (limited to 'ast-to-instr/src/VHDLNode.java') diff --git a/ast-to-instr/src/VHDLNode.java b/ast-to-instr/src/VHDLNode.java new file mode 100644 index 0000000..1774672 --- /dev/null +++ b/ast-to-instr/src/VHDLNode.java @@ -0,0 +1,25 @@ +import org.w3c.dom.Node; + +public abstract class VHDLNode extends ParsableXML +{ + protected final IDs next_node; + protected final int depth; + protected final String[] attributes; + + public VHDLNode + ( + final IDs parent_id, + final Node xml_node, + final IDs next_node, + final int depth, + final String[] attributes + ) + { + super(parent_id, xml_node); + + this.next_node = next_node; + this.depth = depth; + this.attributes = attributes; + } + +} -- cgit v1.2.3-70-g09d2