• Top
  • Statements

Vardecl

Fixtype of variable declarations.

This is a product type introduced by fty::defprod.

Fields
name — identifier
type — type
init — expression

A variable declaration consists of a name (identifier), a type, and an (initializing) expression.

Subtopics

Vardecl-fix
Fixing function for vardecl structures.
Vardecl-equiv
Basic equivalence relation for vardecl structures.
Make-vardecl
Basic constructor macro for vardecl structures.
Vardeclp
Recognizer for vardecl structures.
Change-vardecl
Modifying constructor for vardecl structures.
Vardecl->type
Get the type field from a vardecl.
Vardecl->name
Get the name field from a vardecl.
Vardecl->init
Get the init field from a vardecl.