Class: TRuby::Scanner::Token
- Inherits:
-
Struct
- Object
- Struct
- TRuby::Scanner::Token
- Defined in:
- lib/t_ruby/scanner.rb
Overview
토큰 구조체
Instance Attribute Summary collapse
-
#column ⇒ Object
Returns the value of attribute column.
-
#end_pos ⇒ Object
Returns the value of attribute end_pos.
-
#line ⇒ Object
Returns the value of attribute line.
-
#start_pos ⇒ Object
Returns the value of attribute start_pos.
-
#type ⇒ Object
Returns the value of attribute type.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#column ⇒ Object
Returns the value of attribute column
8 9 10 |
# File 'lib/t_ruby/scanner.rb', line 8 def column @column end |
#end_pos ⇒ Object
Returns the value of attribute end_pos
8 9 10 |
# File 'lib/t_ruby/scanner.rb', line 8 def end_pos @end_pos end |
#line ⇒ Object
Returns the value of attribute line
8 9 10 |
# File 'lib/t_ruby/scanner.rb', line 8 def line @line end |
#start_pos ⇒ Object
Returns the value of attribute start_pos
8 9 10 |
# File 'lib/t_ruby/scanner.rb', line 8 def start_pos @start_pos end |
#type ⇒ Object
Returns the value of attribute type
8 9 10 |
# File 'lib/t_ruby/scanner.rb', line 8 def type @type end |
#value ⇒ Object
Returns the value of attribute value
8 9 10 |
# File 'lib/t_ruby/scanner.rb', line 8 def value @value end |