Class: Oppen::Token::Whitespace
- Inherits:
-
String
- Object
- Oppen::Token
- String
- Oppen::Token::Whitespace
- Defined in:
- lib/oppen/token.rb
Overview
This token is not part of Oppen's original work. We introduced it to handle trailing whitespaces.
When the config flag trim_trailing_whitespaces == true
, and a new line
is needed, all the Whitespace figuring after the last String
will be be skipped.
Instance Attribute Summary
Attributes inherited from String
Method Summary
Methods inherited from String
Methods inherited from Oppen::Token
Constructor Details
This class inherits a constructor from Oppen::Token::String