Class: RBS::AST::Ruby::CommentBlock::AnnotationSyntaxError
- Inherits:
-
Object
- Object
- RBS::AST::Ruby::CommentBlock::AnnotationSyntaxError
- Defined in:
- sig/ast/ruby/comment_block.rbs
Instance Attribute Summary collapse
-
#error ⇒ ParsingError
readonly
Returns the value of attribute error.
-
#location ⇒ Location
readonly
Returns the value of attribute location.
Instance Method Summary collapse
-
#initialize ⇒ AnnotationSyntaxError
constructor
A new instance of AnnotationSyntaxError.
Constructor Details
#initialize ⇒ AnnotationSyntaxError
Returns a new instance of AnnotationSyntaxError.
102 |
# File 'sig/ast/ruby/comment_block.rbs', line 102
def initialize: (Location, ParsingError) -> void
|
Instance Attribute Details
#error ⇒ ParsingError (readonly)
Returns the value of attribute error.
100 101 102 |
# File 'sig/ast/ruby/comment_block.rbs', line 100 def error @error end |
#location ⇒ Location (readonly)
Returns the value of attribute location.
98 99 100 |
# File 'sig/ast/ruby/comment_block.rbs', line 98 def location @location end |