Module: Jade::Frontend::SemanticAnalysis::CharLiteral

Extended by:
CharLiteral, Helper
Included in:
CharLiteral
Defined in:
lib/jade/frontend/semantic_analysis/char_literal.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
# File 'lib/jade/frontend/semantic_analysis/char_literal.rb', line 8

def analyze(node, _registry, scope, _entry)
  Result.init(node.with(symbol: Symbol::TypeRef['Char', 'Char']), scope)
end