spec/fixtures/tasks/simple.ast in gisele-0.2.0 vs spec/fixtures/tasks/simple.ast in gisele-0.3.0
- old
+ new
@@ -1,57 +1,51 @@
[
- :unit,
+ :unit_def,
[
:task_def,
"Simple",
[
- :task_signature,
+ :fluent,
+ "diagKnown",
[
- :fluent,
- "diagKnown",
- [
- :event_set,
- "Diagnosis:start"
- ],
- [
- :event_set,
- "Treatment:end"
- ],
- nil
- ]
+ :event_set,
+ "Diagnosis:start"
+ ],
+ [
+ :event_set,
+ "Treatment:end"
+ ],
+ nil
],
[
- :task_refinement,
+ :seq_st,
[
- :seq_st,
+ :if_st,
[
- :if_st,
+ :bool_expr,
[
- :bool_expr,
+ :bool_not,
[
- :bool_not,
- [
- :var_ref,
- "diagKnown"
- ]
+ :var_ref,
+ "diagKnown"
]
- ],
- [
- :task_call_st,
- "Diagnosis"
- ],
- [
- :else_clause,
- [
- :task_call_st,
- "NoDiag"
- ]
]
],
[
:task_call_st,
- "Treatment"
+ "Diagnosis"
+ ],
+ [
+ :else_clause,
+ [
+ :task_call_st,
+ "NoDiag"
+ ]
]
+ ],
+ [
+ :task_call_st,
+ "Treatment"
]
]
]
]