We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43dd587 commit f60c278Copy full SHA for f60c278
1 file changed
parser/parser.go
@@ -73,6 +73,10 @@ func ParseProgram(src []byte, config *ParserConfig) (prog *Program, err error) {
73
74
// Program is the abstract syntax tree for an entire AWK program.
75
type Program struct {
76
+ // These fields aren't intended to be used or modified directly,
77
+ // but are exported for the interpreter (Program itself needs to
78
+ // be exported in package "parser", otherwise these could live in
79
+ // "internal/ast".)
80
Begin []Stmts
81
Actions []Action
82
End []Stmts
0 commit comments