Class: RBS::InlineParser::Diagnostic::Base
- Inherits:
-
Object
- Object
- RBS::InlineParser::Diagnostic::Base
- Defined in:
- lib/rbs/inline_parser.rb,
sig/inline_parser.rbs
Direct Known Subclasses
AnnotationSyntaxError, AttributeNonSymbolName, ClassModuleAliasDeclarationMissingTypeName, MixinMultipleArguments, MixinNonConstantModule, NonConstantClassName, NonConstantConstantDeclaration, NonConstantModuleName, NonConstantSuperClassName, NotImplementedYet, TopLevelAttributeDefinition, TopLevelMethodDefinition, UnusedInlineAnnotation
Instance Attribute Summary collapse
-
#location ⇒ Location
readonly
Returns the value of attribute location.
-
#message ⇒ String
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(location, message) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(location, message) ⇒ Base
Returns a new instance of Base.
24 25 26 27 |
# File 'lib/rbs/inline_parser.rb', line 24 def initialize(location, ) @location = location @message = end |
Instance Attribute Details
#location ⇒ Location (readonly)
Returns the value of attribute location.
22 23 24 |
# File 'lib/rbs/inline_parser.rb', line 22 def location @location end |
#message ⇒ String (readonly)
Returns the value of attribute message.
22 23 24 |
# File 'lib/rbs/inline_parser.rb', line 22 def @message end |