Class: Jaina::Parser::Expression::Operator::Terminal Private

Inherits:
Abstract
  • Object
show all
Defined in:
lib/jaina/parser/expression/operator/terminal.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Since:

  • 0.1.0

Constant Summary

Constants inherited from Abstract

Abstract::Error, Abstract::InompatibleDirectionComparisonError

Constants included from Abstract::DSL

Abstract::DSL::Error, Abstract::DSL::IncorrectAssociativityDirectionError, Abstract::DSL::IncorrectPrecedenceLevelError, Abstract::DSL::IncorrectTokenError, Abstract::DSL::LEFT_ASSOC, Abstract::DSL::RIGHT_ASSOC

Instance Attribute Summary

Attributes inherited from Abstract

#arguments, #expressions

Class Method Summary collapse

Methods inherited from Abstract

#evaluate, #initialize, #lower, lower?

Methods included from Abstract::DSL

included

Constructor Details

This class inherits a constructor from Jaina::Parser::Expression::Operator::Abstract

Class Method Details

.non_temrinal?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)

Since:

  • 0.1.0



20
21
22
# File 'lib/jaina/parser/expression/operator/terminal.rb', line 20

def non_temrinal?
  false
end

.terminal?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)

Since:

  • 0.1.0



12
13
14
# File 'lib/jaina/parser/expression/operator/terminal.rb', line 12

def terminal?
  true
end