SecondSemanticPass.findOverload

Returns a call expression if 'e' overrides an operator with the name 'id' or 'id_r'.

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

Parameters

e

The binary expression to be checked.

id
Type: Identifier*

The name of the overload function.

id_r
Type: Identifier*

The name of the reverse overload function.

Meta