bel_parser 1.0.0.alpha.42-java → 1.0.0.alpha.43-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/bel_parser/expression/model/statement.rb +1 -0
- data/lib/bel_parser/parsers/expression/nested_statement.rb +1557 -234
- data/lib/bel_parser/parsers/expression/nested_statement.rl +1 -1
- data/lib/bel_parser/parsers/expression/observed_term.rb +952 -119
- data/lib/bel_parser/parsers/expression/parameter.rb +216 -27
- data/lib/bel_parser/parsers/expression/parameter.rl +8 -1
- data/lib/bel_parser/parsers/expression/simple_statement.rb +1088 -136
- data/lib/bel_parser/parsers/expression/term.rb +680 -85
- data/lib/bel_parser/script/state/set.rb +6 -5
- metadata +1 -1
@@ -26,11 +26,12 @@ module BELParser
|
|
26
26
|
handle_citation(value_node, script_context)
|
27
27
|
when is_support?(name_string)
|
28
28
|
handle_support(value_node, script_context)
|
29
|
-
when value_node.is_a?(LIST_NODE)
|
30
|
-
|
31
|
-
.
|
32
|
-
.
|
33
|
-
|
29
|
+
when value_node.children[0].is_a?(LIST_NODE)
|
30
|
+
value_node
|
31
|
+
.children[0]
|
32
|
+
.list_items
|
33
|
+
.each do |list_item|
|
34
|
+
handle_annotation(name_string, list_item, script_context)
|
34
35
|
end
|
35
36
|
else
|
36
37
|
case name_string
|