Class: OpenEHR::AQL::Model::FunctionCall

Inherits:
Object
  • Object
show all
Defined in:
lib/openehr/aql/model/function_call.rb

Overview

functionCall : terminologyFunction | name=(STRING_FUNCTION_ID | NUMERIC_FUNCTION_ID | DATE_TIME_FUNCTION_ID | IDENTIFIER) SYM_LEFT_PAREN (terminal (SYM_COMMA terminal)*)? SYM_RIGHT_PAREN ;

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, arguments: []) ⇒ FunctionCall

Returns a new instance of FunctionCall.



25
26
27
28
29
# File 'lib/openehr/aql/model/function_call.rb', line 25

def initialize(name:, arguments: [])
  @name = name
  @arguments = arguments.freeze
  freeze
end

Instance Attribute Details

#argumentsObject (readonly)

Returns the value of attribute arguments.



23
24
25
# File 'lib/openehr/aql/model/function_call.rb', line 23

def arguments
  @arguments
end

#nameObject (readonly)

Returns the value of attribute name.



23
24
25
# File 'lib/openehr/aql/model/function_call.rb', line 23

def name
  @name
end