Class: Clef::Parser::LilypondLexer::Token
- Inherits:
-
Struct
- Object
- Struct
- Clef::Parser::LilypondLexer::Token
- Defined in:
- lib/clef/parser/lilypond_lexer.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
Returns the value of attribute column.
-
#line ⇒ Object
Returns the value of attribute line.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#column ⇒ Object
Returns the value of attribute column
6 7 8 |
# File 'lib/clef/parser/lilypond_lexer.rb', line 6 def column @column end |
#line ⇒ Object
Returns the value of attribute line
6 7 8 |
# File 'lib/clef/parser/lilypond_lexer.rb', line 6 def line @line end |
#value ⇒ Object
Returns the value of attribute value
6 7 8 |
# File 'lib/clef/parser/lilypond_lexer.rb', line 6 def value @value end |
Instance Method Details
#==(other) ⇒ Object
15 16 17 |
# File 'lib/clef/parser/lilypond_lexer.rb', line 15 def ==(other) value == other || super end |
#match?(*args) ⇒ Boolean
11 12 13 |
# File 'lib/clef/parser/lilypond_lexer.rb', line 11 def match?(*args) value.match?(*args) end |
#to_s ⇒ Object
7 8 9 |
# File 'lib/clef/parser/lilypond_lexer.rb', line 7 def to_s value end |