attribute

A named attribute with arguments.

Declaración

Sintaxis

attribute = Attribute(identifier name, attribute_arg *args)
attribute_arg = (identifier arg)

Argumentos

None.

Valores devueltos

None.

Descripción

There is one constructor, Attribute:

Argument

Descripción

name

the name of the attribute.

args

its arguments, each an attribute_arg holding one identifier.

Nothing in ASR refers to this type today: the attributes a declaration carries are members of Variable and of the other symbols, so that a pass reads a named member rather than searching a list. It is kept for attributes that have no member of their own yet.

Ver también

Variable, Function