Class: Predicator::AST::Variable

Inherits:
Terminal show all
Defined in:
lib/predicator/ast.rb

Instance Attribute Summary

Attributes inherited from Node

#left

Instance Method Summary collapse

Methods inherited from Node

#each, #initialize, #literal?, #to_dot, #to_instructions, #to_predicate, #to_s

Constructor Details

This class inherits a constructor from Predicator::AST::Node

Instance Method Details

#typeObject



50
# File 'lib/predicator/ast.rb', line 50

def type; :VARIABLE; end

#variable?Boolean



51
# File 'lib/predicator/ast.rb', line 51

def variable?; true; end