Class: Predicator::AST::Literal
- Defined in:
- lib/predicator/ast.rb
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
Methods inherited from Node
#each, #initialize, #to_dot, #to_instructions, #to_s, #variable?
Constructor Details
This class inherits a constructor from Predicator::AST::Node
Instance Method Details
#literal? ⇒ Boolean
42 |
# File 'lib/predicator/ast.rb', line 42 def literal?; true; end |
#type ⇒ Object
41 |
# File 'lib/predicator/ast.rb', line 41 def type; :LITERAL; end |