- Inheritance
- < Object
Constants
Name | Description | |
---|---|---|
NO_TEXT | = "??".freeze |
Attributes
Name | Visibility | R/W | Description |
---|---|---|---|
char_no | public | R | |
line_no | public | R | |
text | public | R |
Methods
Class
Visibility | Signature |
---|---|
public | new (line_no, char_no) |
Instance
Visibility | Signature |
---|---|
public | set_text (text) |
Class Method Detail
new(line_no, char_no)
Instance Method Detail
set_text(text)
Because we‘re used in contexts that expect to return a token, we set the text string and then return ourselves