Skip to content

Commit

Permalink
fix lexer/token/type.rbs
Browse files Browse the repository at this point in the history
  • Loading branch information
Little-Rubyist committed Oct 13, 2023
1 parent c62dc37 commit 1872264
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 1872264

Please sign in to comment.