Module: Jade::Frontend::SemanticAnalysis::ImplementationFunction

Extended by:
Helper, ImplementationFunction
Included in:
ImplementationFunction
Defined in:
lib/jade/frontend/semantic_analysis/implementation_function.rb

Instance Method Summary collapse

Methods included from Helper

analyze_duplicate_fields, analyze_in_parallel, analyze_in_sequence, analyze_node, bind, collect_vars, lookup, validate_type_symbol

Instance Method Details

#analyze(node, registry, scope, entry) ⇒ Object



8
9
10
11
12
# File 'lib/jade/frontend/semantic_analysis/implementation_function.rb', line 8

def analyze(node, registry, scope, entry)
  node => AST::ImplementationFunction(fn:)

  Result.combine(node, scope:, fn: analyze_node(fn, registry, scope, entry))
end