Object | +--RubyToken::Token
char_no [R]
lex_state [R, W]
line_no [R]
text [R]
NO_TEXT = "??".freeze
| Object |
char_no
Returns the value of attribute char_no . |
| Object |
char_no=(value)
Sets the attribute char_no . |
| Object |
lex_state
Returns the value of attribute lex_state . |
| Object |
lex_state=(value)
Sets the attribute lex_state . |
| Object |
line_no
Returns the value of attribute line_no . |
| Object |
line_no=(value)
Sets the attribute line_no . |
| Object |
set_text(text)
Because we’re used in contexts that expect to return a token, . |
| Object |
text
Returns the value of attribute text . |
| Object |
text=(value)
Sets the attribute text . |
Returns the value of attribute char_no
Sets the attribute char_no
Returns the value of attribute lex_state
Sets the attribute lex_state
Returns the value of attribute line_no
Sets the attribute line_no
Because we’re used in contexts that expect to return a token, we set the text string and then return ourselves
Returns the value of attribute text
Sets the attribute text