diff --git a/Steepfile b/Steepfile index dcbee96e..970f953b 100644 --- a/Steepfile +++ b/Steepfile @@ -8,5 +8,6 @@ target :lib do check "lib/lrama/digraph.rb" check "lib/lrama/report/duration.rb" check "lib/lrama/report/profile.rb" + check "lib/lrama/token/type.rb" check "lib/lrama/warning.rb" end diff --git a/sig/lrama/lexer/token/type.rbs b/sig/lrama/lexer/token/type.rbs new file mode 100644 index 00000000..14a17f75 --- /dev/null +++ b/sig/lrama/lexer/token/type.rbs @@ -0,0 +1,15 @@ +module Lrama + class Lexer + class Token + attr_accessor type: Type + attr_accessor s_value: String + attr_accessor alias: String + attr_accessor keyword_init: bool + class Type + attr_accessor id: Integer + attr_accessor name: String + attr_accessor keyword_init: bool + end + end + end +end