sig/prism/lex_compat.rbs
raw| 1 | module Prism |
| 2 | class LexCompat |
| 3 | class Result < Prism::Result |
| 4 | attr_reader value: Array[[[Integer, Integer], Symbol, String, untyped]] |
| 5 | |
| 6 | def initialize: (Array[[[Integer, Integer], Symbol, String, untyped]] value, Array[comment] comments, Array[MagicComment] magic_comments, Location? data_loc, Array[ParseError] errors, Array[ParseWarning] warnings, Source source) -> void |
| 7 | def deconstruct_keys: (Array[Symbol]? keys) -> Hash[Symbol, untyped] |
| 8 | end |
| 9 | end |
| 10 | end |