Module: Jade::Frontend::SemanticAnalysis::List
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 13 |
# File 'lib/jade/frontend/semantic_analysis/list.rb', line 8 def analyze(node, registry, scope, entry) node => AST::List(items:) analyze_in_parallel(items, registry, scope, entry) .map_node { node.with(items: it, symbol: Symbol::TypeRef['List', 'List']) } end |