Class: Text
- Inherits:
-
BasicToken
- Object
- BasicToken
- Text
- Defined in:
- lib/rosetta/tokens/text.rb
Overview
Handles logic for Text tokens.
Constant Summary
Constants inherited from BasicToken
BasicToken::INLINE_CLASS_NAMES, BasicToken::TOP_LEVEL_CLASS_NAMES
Instance Attribute Summary
Attributes inherited from BasicToken
Instance Method Summary collapse
Methods inherited from BasicToken
#accept, #initialize, #inline?, #node_representation, #to_s
Constructor Details
This class inherits a constructor from BasicToken
Instance Method Details
#type ⇒ Object
7 8 9 |
# File 'lib/rosetta/tokens/text.rb', line 7 def type :TEXT end |
#value ⇒ Object
11 12 13 |
# File 'lib/rosetta/tokens/text.rb', line 11 def value @source_text end |