Class: Predicator::AST::Unary

Inherits:
Node
  • Object
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_s, #type, #variable?

Constructor Details

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

Instance Method Details

#childrenObject



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

def children; [left] end