Class: Parser::Tokenline
- Inherits:
-
Struct
- Object
- Struct
- Parser::Tokenline
- Defined in:
- lib/parser/comment.rb
Overview
Together with Comment it acts as an Interface between Parser and CodeObject. Parser::Comment creates instances of Tokenline, which are then analysed by Token::Container#process_token
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#token ⇒ Object
Returns the value of attribute token.
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content
12 13 14 |
# File 'lib/parser/comment.rb', line 12 def content @content end |
#token ⇒ Object
Returns the value of attribute token
12 13 14 |
# File 'lib/parser/comment.rb', line 12 def token @token end |