getProperty

Calculate built-in properties which just the type is necessary.

getProperty

Parameters

t Type

the type for which the property is calculated

scope_ Scope*

the scope from which the property is being accessed. Used for visibility checks only.

loc Loc

the location where the property is encountered

ident Identifier

the identifier of the property

flag int

if flag & 1, don't report "not a property" error and just return NULL.

Return Value

expression representing the property, or null if not a property and (flag & 1)

Suggestion Box / Bug Report