Class: CSDL::Operator

Inherits:
Struct
  • Object
show all
Defined in:
lib/csdl/operators.rb

Overview

A CSDL Operator definition with indication as to valid data types to be used with the operator.

See Also:

Instance Attribute Summary collapse

Instance Attribute Details

#argument_typesArray<Symbol>

List of valid argument node types that can be associated with an operator.

Returns:

  • (Array<Symbol>)

    the current value of argument_types



10
11
12
# File 'lib/csdl/operators.rb', line 10

def argument_types
  @argument_types
end

#nameString

The name of the operator.

Returns:

  • (String)

    the current value of name



10
11
12
# File 'lib/csdl/operators.rb', line 10

def name
  @name
end