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