aboutsummaryrefslogtreecommitdiffstats
path: root/tool/lrama/lib/lrama/grammar/type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/lrama/lib/lrama/grammar/type.rb')
-rw-r--r--tool/lrama/lib/lrama/grammar/type.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/tool/lrama/lib/lrama/grammar/type.rb b/tool/lrama/lib/lrama/grammar/type.rb
new file mode 100644
index 0000000000..6861d9f846
--- /dev/null
+++ b/tool/lrama/lib/lrama/grammar/type.rb
@@ -0,0 +1,6 @@
+module Lrama
+ class Grammar
+ class Type < Struct.new(:id, :tag, keyword_init: true)
+ end
+ end
+end