checkExpressionTypeWithExpectedType

fun checkExpressionTypeWithExpectedType(expression: ExpressionNode, expected: Type, currentSymbolTable: SymbolTableVisitor, ctx: ParserRuleContext)

Check expression type with expected type

Parameters

expression
expected
currentSymbolTable
ctx