Class: RBS::AST::Ruby::CommentBlock::AnnotationSyntaxError

Inherits:
Object
  • Object
show all
Defined in:
sig/ast/ruby/comment_block.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAnnotationSyntaxError

Returns a new instance of AnnotationSyntaxError.

Parameters:



102
# File 'sig/ast/ruby/comment_block.rbs', line 102

def initialize: (Location, ParsingError) -> void

Instance Attribute Details

#errorParsingError (readonly)

Returns the value of attribute error.

Returns:



100
101
102
# File 'sig/ast/ruby/comment_block.rbs', line 100

def error
  @error
end

#locationLocation (readonly)

Returns the value of attribute location.

Returns:



98
99
100
# File 'sig/ast/ruby/comment_block.rbs', line 98

def location
  @location
end