pseudo-states appear to be working + variables only exist within the scope where they are created
This commit is contained in:
parent
db1479bfc4
commit
d4930eb13d
22 changed files with 742 additions and 569 deletions
|
|
@ -19,7 +19,11 @@ export type ParserError = {
|
|||
uid: string; // uid of the text node
|
||||
}
|
||||
|
||||
export type Trigger = EventTrigger | AfterTrigger | EntryTrigger | ExitTrigger;
|
||||
export type Trigger = TriggerLess | EventTrigger | AfterTrigger | EntryTrigger | ExitTrigger;
|
||||
|
||||
export type TriggerLess = {
|
||||
kind: "triggerless";
|
||||
}
|
||||
|
||||
export type EventTrigger = {
|
||||
kind: "event";
|
||||
|
|
@ -55,7 +59,7 @@ export type RaiseEvent = {
|
|||
}
|
||||
|
||||
|
||||
export type Expression = BinaryExpression | UnaryExpression | VarRef | Literal;
|
||||
export type Expression = BinaryExpression | UnaryExpression | VarRef | Literal | FunctionCall;
|
||||
|
||||
export type BinaryExpression = {
|
||||
kind: "binaryExpr";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue