Selected Element

The diagrams below draw one box per node kind, with one port per field. The edge colours say how a link is held; they are listed in full on the Fields page.

digraph { rankdir="LR" nodesep=0.1 node [shape=point width=0.06 color="#888a85"] edge [fontname="monospace" fontsize=10 minlen=3] l0a -> l0b [label="owned" color="#000000"] l1a -> l1b [label="ref" color="#3465a4" style=dashed] l2a -> l2b [label="maybe ref" color="#3465a4" style=dotted] l3a -> l3b [label="of ref" color="#3465a4" style=dashed] l4a -> l4b [label="of maybe ref" color="#3465a4" style=dotted] l5a -> l5b [label="forward ref" color="#f57900" style=dashed] l6a -> l6b [label="maybe forward ref" color="#f57900" style=dotted] l7a -> l7b [label="chain" color="#4e9a06"] l8a -> l8b [label="chain next" color="#4e9a06" style=bold] }

Iir_Kind_Selected_Element

A record element selection. This corresponds to a refined selected names. The production doesn’t exist in the VHDL grammar.

Format: Short

Accessor

Field

Type

Access

Description

Prefix

Field0

Iir

owned

Prefix of a name.

Type

Field1

Iir

ref

Identifier

Field3

Name_Id

owned

Get/Set the identifier of a declaration. Can also be used instead of get/set_label.

Named_Entity

Field4

Iir

maybe forward ref

The selected element.

Base_Name

Field5

Iir

ref

The base name of a name is the node at the origin of the name. The base name is a declaration (signal, object, constant or interface), a selected_by_all name, an implicit_dereference name.

Expr_Staticness

State1

Iir_Staticness

owned

Expression staticness, defined by rules of LRM 7.4

Name_Staticness

State2

Iir_Staticness

owned

Staticness of a name, according to rules of LRM 6.1

Is_Forward_Ref

Flag1

Boolean

owned

Always false.

digraph { rankdir="LR" node [shape=record fontname="monospace" fontsize=10] edge [fontname="monospace" fontsize=9] "Selected_Element" [style=filled fillcolor="#eeeeec" label="{Selected_Element|{<Prefix> Prefix|<Type> Type|<Identifier> Identifier|<Named_Entity> Named_Entity|<Base_Name> Base_Name|<Expr_Staticness> Expr_Staticness|<Name_Staticness> Name_Staticness|<Is_Forward_Ref> Is_Forward_Ref}}"] "Selected_Element__Prefix" [shape=box label="Iir"] "Selected_Element":Prefix -> "Selected_Element__Prefix" [color="#000000"] "Selected_Element__Type" [shape=box label="Iir"] "Selected_Element":Type -> "Selected_Element__Type" [color="#3465a4" style=dashed] "Selected_Element__Named_Entity" [shape=box label="Iir"] "Selected_Element":Named_Entity -> "Selected_Element__Named_Entity" [color="#f57900" style=dotted] "Selected_Element__Base_Name" [shape=box label="Iir"] "Selected_Element":Base_Name -> "Selected_Element__Base_Name" [color="#3465a4" style=dashed] }