Class

RubyToken::Token

Inheritance
< Object

Constants

Name   Description
NO_TEXT = "??".freeze

Attributes

Name Visibility R/W Description
char_no public R
char_no public R
line_no public R
line_no public R
seek public R
text public R
text public R

Methods

Class

Visibility Signature
public new (seek, line_no, char_no)
public new (line_no, char_no)

Instance

Visibility Signature
public set_text (text)

Class Method Detail

new(seek, line_no, char_no)

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