Elsa Ast Type Enumerator

From MozillaWiki
Jump to: navigation, search

Enumerator is a Ast type node (without any subtype nodes). Enumerator is a record.

Record Data Fields

  • enumerator_loc : sourceLoc
  • enumerator_name : stringRef
  • enumerator_expr : Expression option
  • enumerator_var : Variable
  • enumValue : int32

Subtype Nodes (Subclasses)

Enumerator has no subtype nodes.

Comments

Please make your modifications only below, because the content above will be regenerated automatically from time to time.


Enum values can be 64 bit, then the enumValue is invalid, take enumerator_expr instead.