SecondSemanticPass.findOverload

Returns a call expression if 'e' overrides an operatorwith the name 'id'.

  1. Expression findOverload(UnaryExpr e, Identifier* id)
    class SecondSemanticPass
    Expression
    findOverload
    (
    UnaryExpr e
    ,
    Identifier* id
    )
  2. Expression findOverload(BinaryExpr e, Identifier* id, Identifier* id_r)

Parameters

e
Type: UnaryExpr

The binary expression to be checked.

id
Type: Identifier*

The name of the overload function.

Meta