fieldLookup

Run semantic on e. Expression e evaluates to an instance of a struct. Look up ident as a field of that struct.

Parameters

e Expression

evaluates to an instance of a struct

sc Scope*

context

id Identifier

identifier of a field in that struct

Return Value

if successful e.ident if not then ErrorExp and message is printed

Meta