AbbrevTable Type
An abbreviation table essentially consists of a map from boolean expressions to QNames. This mapping is viewed as abbreviation of the expression by a new boolean variable whose name is the QName. In contrast to the forward variant, new abbreviations can be created. To this end, the table has to generate new names which is done by storing in integer which is also the maximum number of boolean expressions abbreviated in the table.
Record fields
Record Field | Description |
Full Usage:
nameStub
Field type: string
|
|
Full Usage:
nextIndex
Field type: int
Modifiers: mutable |
|
|
|
Instance members
Instance member | Description |
|
Printer of a table abbreviation table
|
Static members
Static member | Description |
|
Generates a new abbreviation table where the names of the variables used for the abbreviations start with two underscores and s. Note that the abbreviation tables must have different name stubs s.
|
|
Create abbreviation table from list. The list must contain different boolean expressions. The parameters stub and index are used to restore the ability to create new names.
|
Full Usage:
AbbrevTable.toActions bwd
Parameters:
AbbrevTable
Returns: (QName * Decl) list * (BoolExpr * Action) list
|
Convert abbreviation table to declarations and actions
|
Full Usage:
AbbrevTable.toList bwd
Parameters:
AbbrevTable
Returns: (BoolExpr option * QName) list
|