From b4935b361bd16648044526efba818fb6839e0ca9 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Thu, 20 Jul 2017 21:02:32 +0200 Subject: Still missing: Components, When Nodes, Outputs. --- ast-to-instr/src/VHDLCSNode.java | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) (limited to 'ast-to-instr/src/VHDLCSNode.java') diff --git a/ast-to-instr/src/VHDLCSNode.java b/ast-to-instr/src/VHDLCSNode.java index 8c30795..7ed0ff5 100644 --- a/ast-to-instr/src/VHDLCSNode.java +++ b/ast-to-instr/src/VHDLCSNode.java @@ -8,7 +8,7 @@ import javax.xml.xpath.XPathExpressionException; import java.util.ArrayList; import java.util.Collection; -/* If Statement Node */ +/* Case Statement Node */ public class VHDLCSNode extends VHDLNode { private static final XPathExpression XPE_FIND_SOURCES; @@ -17,20 +17,24 @@ public class VHDLCSNode extends VHDLNode static { - XPE_FIND_SOURCES = XMLManager.compile_or_die - ( - "./expression//named_entity" - ); + XPE_FIND_SOURCES = + XMLManager.compile_or_die + ( + "./expression//named_entity" + ); - XPE_FIND_OTHERS_BRANCH = XMLManager.compile_or_die - ( - "./case_statement_alternative_chain/el[@kind=\"choice_by_others\"]" - ); + XPE_FIND_OTHERS_BRANCH = + XMLManager.compile_or_die + ( + "./case_statement_alternative_chain/el[@kind=\"choice_by_others\"]" + ); - XPE_FIND_WHEN_BRANCHES = XMLManager.compile_or_die - ( - "./case_statement_alternative_chain/el[@kind=\"choice_by_expression\"]" - ); + XPE_FIND_WHEN_BRANCHES = + XMLManager.compile_or_die + ( + "./case_statement_alternative_chain/el" + + "[@kind=\"choice_by_expression\"]" + ); } public VHDLCSNode -- cgit v1.2.3-70-g09d2