checkExpressionTypeWithExpectedTypes

fun checkExpressionTypeWithExpectedTypes(expression: ExpressionNode, expected: Set<Type>, currentSymbolTable: SymbolTableVisitor, ctx: ParserRuleContext)

Check expression type with expected types

Parameters

expression
expected
currentSymbolTable
ctx