pseudo-states appear to be working + variables only exist within the scope where they are created

This commit is contained in:
Joeri Exelmans 2025-10-16 17:10:37 +02:00
parent db1479bfc4
commit d4930eb13d
22 changed files with 742 additions and 569 deletions

View file

@ -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";