Sha256: 59b8485f1c5fb709868515f457d74b0b7bec57cf99e0a017f9db47a85b8e4063
Contents?: true
Size: 733 Bytes
Versions: 1
Compression:
Stored size: 733 Bytes
Contents
module RBS class Parser def self.parse_type(source, line: 1, column: 0, variables: []) _parse_type(buffer(source), line, column, variables) end def self.parse_method_type(source, line: 1, column: 0, variables: []) _parse_method_type(buffer(source), line, column, variables) end def self.parse_signature(source, line: 1, column: 0) _parse_signature(buffer(source), line, column) end def self.buffer(source) case source when String Buffer.new(content: source, name: "a.rbs") when Buffer source end end SyntaxError = ParsingError SemanticsError = ParsingError LexerError = ParsingError class LocatedValue end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rbs-1.7.0.beta.2 | lib/rbs/parser_aux.rb |