Sha256: baef25a06db8e9e2a93694d9527258576bc049dc2a85da12b0e7f312c4ca8e53
Contents?: true
Size: 1.01 KB
Versions: 14
Compression:
Stored size: 1.01 KB
Contents
module RBS class Parser class SyntaxError < ParsingError attr_reader token_str: String attr_reader error_value: untyped attr_reader value_stack: untyped? def initialize: (token_str: String, error_value: untyped, ?value_stack: untyped?) -> void end class LexerError < ParsingError attr_reader input: String attr_reader location: Location def initialize: (input: String, location: Location) -> void end class SemanticsError < ParsingError attr_reader subject: untyped attr_reader location: Location attr_reader original_message: String def initialize: (String message, subject: untyped, location: Location) -> void end def self.parse_method_type: (String | Buffer, ?variables: Array[Symbol], ?eof_re: Regexp?) -> MethodType def self.parse_type: (String | Buffer, ?variables: Array[Symbol], ?eof_re: Regexp?) -> Types::t def self.parse_signature: (String | Buffer, ?eof_re: Regexp?) -> Array[AST::Declarations::t] end end
Version data entries
14 entries across 14 versions & 1 rubygems