Class: RBS::AST::Ruby::Annotations::SkipAnnotation
- Defined in:
- lib/rbs/ast/ruby/annotations.rb
Instance Attribute Summary collapse
-
#comment_location ⇒ Object
readonly
Returns the value of attribute comment_location.
-
#skip_location ⇒ Object
readonly
Returns the value of attribute skip_location.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(location:, prefix_location:, skip_location:, comment_location:) ⇒ SkipAnnotation
constructor
A new instance of SkipAnnotation.
- #type_fingerprint ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(location:, prefix_location:, skip_location:, comment_location:) ⇒ SkipAnnotation
Returns a new instance of SkipAnnotation.
144 145 146 147 148 |
# File 'lib/rbs/ast/ruby/annotations.rb', line 144 def initialize(location:, prefix_location:, skip_location:, comment_location:) super(location, prefix_location) @skip_location = skip_location @comment_location = comment_location end |
Instance Attribute Details
#comment_location ⇒ Object (readonly)
Returns the value of attribute comment_location.
142 143 144 |
# File 'lib/rbs/ast/ruby/annotations.rb', line 142 def comment_location @comment_location end |
#skip_location ⇒ Object (readonly)
Returns the value of attribute skip_location.
142 143 144 |
# File 'lib/rbs/ast/ruby/annotations.rb', line 142 def skip_location @skip_location end |
Instance Method Details
#type_fingerprint ⇒ Object
150 151 152 |
# File 'lib/rbs/ast/ruby/annotations.rb', line 150 def type_fingerprint "annots/skip" end |