Class: FilterLexer::Literal
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- FilterLexer::Literal
- Defined in:
- lib/filter_lexer/nodes/literals.rb
Overview
A literal is the value (data) of the filter
Direct Known Subclasses
BooleanLiteral, DatetimeLiteral, NullLiteral, NumberLiteral, StringLiteral
Instance Method Summary collapse
Instance Method Details
#data ⇒ Object
4 5 6 |
# File 'lib/filter_lexer/nodes/literals.rb', line 4 def data return text_value end |