Class: Ast::Merge::Comment::QuotedHashLineParser::Result
- Inherits:
-
Struct
- Object
- Struct
- Ast::Merge::Comment::QuotedHashLineParser::Result
- Defined in:
- lib/ast/merge/comment/quoted_hash_line_parser.rb
Overview
Normalized result from parsing a line.
Instance Attribute Summary collapse
-
#column ⇒ Object
Returns the value of attribute column.
-
#indent ⇒ Object
Returns the value of attribute indent.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#raw ⇒ Object
Returns the value of attribute raw.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
Instance Attribute Details
#column ⇒ Object
Returns the value of attribute column
13 14 15 |
# File 'lib/ast/merge/comment/quoted_hash_line_parser.rb', line 13 def column @column end |
#indent ⇒ Object
Returns the value of attribute indent
13 14 15 |
# File 'lib/ast/merge/comment/quoted_hash_line_parser.rb', line 13 def indent @indent end |
#kind ⇒ Object
Returns the value of attribute kind
13 14 15 |
# File 'lib/ast/merge/comment/quoted_hash_line_parser.rb', line 13 def kind @kind end |
#raw ⇒ Object
Returns the value of attribute raw
13 14 15 |
# File 'lib/ast/merge/comment/quoted_hash_line_parser.rb', line 13 def raw @raw end |
#text ⇒ Object
Returns the value of attribute text
13 14 15 |
# File 'lib/ast/merge/comment/quoted_hash_line_parser.rb', line 13 def text @text end |
Instance Method Details
#full_line? ⇒ Boolean
14 15 16 |
# File 'lib/ast/merge/comment/quoted_hash_line_parser.rb', line 14 def full_line? kind == :full_line end |
#inline? ⇒ Boolean
18 19 20 |
# File 'lib/ast/merge/comment/quoted_hash_line_parser.rb', line 18 def inline? kind == :inline end |