Class: Sass::Script::Lexer::Token
- Inherits:
-  Struct - Object
- Struct
- Sass::Script::Lexer::Token
 
- Defined in:
- /Users/ceppstei/Projects/sass-lang/.sass/lib/sass/script/lexer.rb
Overview
A struct containing information about an individual token.
- type: [- Symbol]
- The type of token.
- value: [- Object]
- The Ruby object corresponding to the value of the token.
- source_range: [- Sass::Source::Range]
- The range in the source file in which the token appeared.
- pos: [- Fixnum]
- The scanner position at which the SassScript token appeared.
Instance Attribute Summary (collapse)
-   - (Object) pos   Returns the value of attribute pos. 
-   - (Object) source_range   Returns the value of attribute source_range. 
-   - (Object) type   Returns the value of attribute type. 
-   - (Object) value   Returns the value of attribute value. 
Instance Attribute Details
- (Object) pos
Returns the value of attribute pos
| 24 25 26 | # File '/Users/ceppstei/Projects/sass-lang/.sass/lib/sass/script/lexer.rb', line 24
def pos
  @pos
end | 
- (Object) source_range
Returns the value of attribute source_range
| 24 25 26 | # File '/Users/ceppstei/Projects/sass-lang/.sass/lib/sass/script/lexer.rb', line 24
def source_range
  @source_range
end | 
- (Object) type
Returns the value of attribute type
| 24 25 26 | # File '/Users/ceppstei/Projects/sass-lang/.sass/lib/sass/script/lexer.rb', line 24
def type
  @type
end | 
- (Object) value
Returns the value of attribute value
| 24 25 26 | # File '/Users/ceppstei/Projects/sass-lang/.sass/lib/sass/script/lexer.rb', line 24
def value
  @value
end |