diff options
Diffstat (limited to 'src/urubu/spec/grammar.go')
-rw-r--r-- | src/urubu/spec/grammar.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/urubu/spec/grammar.go b/src/urubu/spec/grammar.go index c2708d8..1c2bdf2 100644 --- a/src/urubu/spec/grammar.go +++ b/src/urubu/spec/grammar.go @@ -82,6 +82,11 @@ type CompiledGrammar struct { ASTAction *ASTAction `json:"ast_action"` } +type Output struct{ + Grammar CompiledGrammar `json:"grammar"` + Report Report `json:"report"` +} + // StateID represents an ID of a state of a transition table. type StateID int |