class YARP::ParseResult
Experimental RBS support (using type sampling data from the type_fusion
project).
# sig/yarp.rbs class YARP::ParseResult def initialize: (YARP::ProgramNode value, Array[YARP::Comment] comments, Array[] errors, Array[] warnings, YARP::Source source) -> void end
encountered.
the AST, any comments that were encounters, and any errors that were
This represents the result of a call to ::parse or ::parse_file. It contains
def deconstruct_keys(keys)
def deconstruct_keys(keys) { value: value, comments: comments, errors: errors, warnings: warnings } end
def failure?
def failure? !success? end
def initialize(value, comments, errors, warnings, source)
Experimental RBS support (using type sampling data from the type_fusion
project).
type YARP__ParseResult_initialize_comments = YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment | YARP::Comment def initialize: (YARP::ProgramNode value, YARP__ParseResult_initialize_comments comments, errors, warnings, YARP::Source source) -> void
This signature was generated using 33 samples from 1 application.
def initialize(value, comments, errors, warnings, source) @value = value @comments = comments @errors = errors @warnings = warnings @source = source end
def mark_newlines
def mark_newlines newline_marked = Array.new(1 + @source.offsets.size, false) visitor = MarkNewlinesVisitor.new(newline_marked) value.accept(visitor) value end
def success?
def success? errors.empty? end