Sha256: b27155712c32b60f17bb1e5740291a7629affd2f6374fdde302670eb28288150
Contents?: true
Size: 1.32 KB
Versions: 15
Compression:
Stored size: 1.32 KB
Contents
module Parser module AST class Node attr_reader type: Symbol attr_reader children: Array[untyped] def initialize: (Symbol `type`, ?Array[untyped] children, ?Hash[Symbol, untyped] properties) -> void def updated: (?Symbol?, ?Array[untyped]?, ?Hash[Symbol, untyped]? properties) -> Node attr_reader location: Source::Map alias loc location end end class Ruby31 def initialize: (untyped builder) -> void def parse: (Source::Buffer) -> AST def parse_with_comments: (Source::Buffer) -> [AST::Node, Array[Source::Comment]] attr_reader diagnostics: untyped end class Ruby32 def initialize: (untyped builder) -> void def parse: (Source::Buffer) -> AST def parse_with_comments: (Source::Buffer) -> [AST::Node, Array[Source::Comment]] attr_reader diagnostics: untyped end module Source class Buffer def initialize: (String file, Integer lineno, source: String) -> void end end module Builders class Default attr_accessor self.emit_lambda: bool attr_accessor self.emit_procarg0: bool attr_accessor self.emit_kwargs: bool attr_accessor self.emit_forward_arg: bool def string_value: (untyped) -> untyped def value: (untyped) -> untyped end end class SyntaxError < StandardError end end
Version data entries
15 entries across 15 versions & 1 rubygems