summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-07-21 16:50:25 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-07-21 16:50:25 +0200
commitd05bd3592050a9496dd87bcd8a49f8fdc8b6b58d (patch)
tree13ce81449e21c48621ae0ef4dd0f451b72f1c37a /ast-to-instr/src/VHDLWNode.java
parent0aa91fb542bd4e2bec97de98ab819ddd6ccbb698 (diff)
Adds output support.
Diffstat (limited to 'ast-to-instr/src/VHDLWNode.java')
-rw-r--r--ast-to-instr/src/VHDLWNode.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/ast-to-instr/src/VHDLWNode.java b/ast-to-instr/src/VHDLWNode.java
index b32d2a4..06a903c 100644
--- a/ast-to-instr/src/VHDLWNode.java
+++ b/ast-to-instr/src/VHDLWNode.java
@@ -30,6 +30,7 @@ public class VHDLWNode extends VHDLNode
public VHDLWNode
(
+ final OutputFile output,
final IDs parent_id,
final Node xml_node,
final IDs next_node,
@@ -39,6 +40,7 @@ public class VHDLWNode extends VHDLNode
{
super
(
+ output,
parent_id,
xml_node,
next_node,
@@ -59,7 +61,7 @@ public class VHDLWNode extends VHDLNode
xml_id = XMLManager.get_attribute(xml_node, "id");
- local_id = IDs.get_id_from_xml_id(xml_id, "node");
+ local_id = IDs.get_id_from_xml_id(output, xml_id, "node");
/** Functions ***********************************************************/
handle_function_label(local_id);
@@ -85,6 +87,7 @@ public class VHDLWNode extends VHDLNode
{
Functions.add_entry
(
+ output,
"label",
local_id,
Strings.get_id_from_string("")
@@ -98,6 +101,7 @@ public class VHDLWNode extends VHDLNode
{
Functions.add_entry
(
+ output,
"kind",
local_id,
Strings.get_id_from_string("when")
@@ -111,6 +115,7 @@ public class VHDLWNode extends VHDLNode
{
Functions.add_entry
(
+ output,
"depth",
local_id,
Strings.get_id_from_string
@@ -140,6 +145,7 @@ public class VHDLWNode extends VHDLNode
{
Predicates.add_entry
(
+ output,
"has_option",
local_id,
Strings.get_id_from_string(s)
@@ -175,6 +181,7 @@ public class VHDLWNode extends VHDLNode
{
Predicates.add_entry
(
+ output,
"expr_reads",
local_id,
Waveforms.get_associated_waveform_id
@@ -210,6 +217,7 @@ public class VHDLWNode extends VHDLNode
(
new VHDLSSCNode
(
+ output,
parent_id,
body,
local_id,