Sha256: ffa2890d56056bba7057622a27c7bdf7508328a043eeb3c58aabb5c615d9c924

Contents?: true

Size: 859 Bytes

Versions: 1

Compression:

Stored size: 859 Bytes

Contents

module RBS
  class Parser
    def self.parse_method_type: (Buffer | String, ?line: Integer, ?column: Integer, ?variables: Array[Symbol]) -> MethodType

    def self.parse_type: (Buffer | String, ?line: Integer, ?column: Integer, ?variables: Array[Symbol]) -> Types::t

    def self.parse_signature: (Buffer | String, ?line: Integer, ?column: Integer) -> Array[AST::Declarations::t]

    private

    def self.buffer: (String | Buffer source) -> Buffer

    %a{no-defn}
    def self._parse_type: (Buffer, Integer line, Integer column, Array[Symbol] variables) -> Types::t

    %a{no-defn}
    def self._parse_method_type: (Buffer, Integer line, Integer column, Array[Symbol] variables) -> MethodType

    %a{no-defn}
    def self._parse_signature: (Buffer, Integer line, Integer column) -> Array[AST::Declarations::t]

    class LocatedValue
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rbs-1.7.0.beta.2 sig/parser.rbs