Class: Floe::Workflow::IntrinsicFunction::Transformer

Inherits:
Parslet::Transform
  • Object
show all
Defined in:
lib/floe/workflow/intrinsic_function/transformer.rb

Defined Under Namespace

Classes: OptionalArg, VariadicArgs

Constant Summary collapse

STATES_FORMAT_PLACEHOLDER =
/(?<!\\)\{\}/.freeze

Class Method Summary collapse

Class Method Details

.process_args(args, function, signature = nil) ⇒ Object



15
16
17
18
19
20
21
22
# File 'lib/floe/workflow/intrinsic_function/transformer.rb', line 15

def process_args(args, function, signature = nil)
  args = resolve_args(args)
  if signature
    check_arity(args, function, signature)
    check_types(args, function, signature)
  end
  args
end