Skip to content

Commit

Permalink
Add ForRangeStmt node
Browse files Browse the repository at this point in the history
  • Loading branch information
5nord committed Feb 2, 2024
1 parent 0c60cf0 commit 53068c5
Show file tree
Hide file tree
Showing 2 changed files with 152 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ttcn3/syntax/nodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,17 @@ type (
Body *BlockStmt // Loop-Body
}

ForRangeStmt struct {
Tok Token
LParen Token
VarTok Token
Iterator *Ident
InTok Token
Range Expr
RParen Token
Body *BlockStmt
}

// A WhilStmt represents a "while" statement.
WhileStmt struct {
Tok Token // Position of "while"
Expand Down
141 changes: 141 additions & 0 deletions ttcn3/syntax/nodes_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 53068c5

Please sign in to comment.