Skip to content

Commit

Permalink
Merge pull request #116 from Little-Rubyist/add_type_rbs
Browse files Browse the repository at this point in the history
fix lexer/token/type.rbs
  • Loading branch information
yui-knk authored Oct 13, 2023
2 parents c62dc37 + 1872264 commit 34efabe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sig/lrama/lexer/token/type.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ module Lrama
attr_accessor type: Type
attr_accessor s_value: String
attr_accessor alias: String
attr_accessor keyword_init: bool

def initialize: (?type: Type, ?s_value: String, ?alias: String) -> void
class Type
attr_accessor id: Integer
attr_accessor name: String
attr_accessor keyword_init: bool

def initialize: (?id: Integer, ?name: String) -> void
end
end
end
Expand Down

0 comments on commit 34efabe

Please sign in to comment.