public static class WyalFile.Type.Nominal extends AbstractSyntacticItem implements WyalFile.Type
NominalType ::= Identifier ('.' Identifier)*
A nominal type specifies the name of a type defined elsewhere. In some
cases, this type can be expanded (or "inlined"). However, visibility
modifiers can prevent this and, thus, give rise to true nominal types.AbstractSyntacticItem.Blocks, AbstractSyntacticItem.Extras, AbstractSyntacticItem.Operands, AbstractSyntacticItem.SchemaWyalFile.Type.Any, WyalFile.Type.Array, WyalFile.Type.Atom, WyalFile.Type.Bool, WyalFile.Type.Byte, WyalFile.Type.Function, WyalFile.Type.FunctionOrMacroOrInvariant, WyalFile.Type.FunctionOrMethodOrProperty, WyalFile.Type.Int, WyalFile.Type.Intersection, WyalFile.Type.Invariant, WyalFile.Type.Method, WyalFile.Type.Negation, WyalFile.Type.Nominal, WyalFile.Type.Null, WyalFile.Type.Primitive, WyalFile.Type.Property, WyalFile.Type.Record, WyalFile.Type.Reference, WyalFile.Type.Union, WyalFile.Type.UnionOrIntersection, WyalFile.Type.Voiddata| Constructor and Description |
|---|
Nominal(WyalFile.Name name,
wybs.lang.Attribute... attributes) |
| Modifier and Type | Method and Description |
|---|---|
WyalFile.Type.Nominal |
clone(SyntacticItem[] operands)
Create a new copy of the given syntactic item with the given operands.
|
WyalFile.Name |
getName() |
String |
toString() |
allocate, compareTo, equals, getData, getIndex, getOpcode, getOperand, getOperands, getParent, hashCode, setOpcode, setOperand, sizeclone, finalize, getClass, notify, notifyAll, wait, wait, waitallocate, getData, getIndex, getOpcode, getOperand, getOperands, getParent, setOpcode, setOperand, sizecompareTopublic Nominal(WyalFile.Name name, wybs.lang.Attribute... attributes)
public WyalFile.Name getName()
public WyalFile.Type.Nominal clone(SyntacticItem[] operands)
SyntacticItemsize() for this item, and
be of appropriate type.clone in interface SyntacticItempublic String toString()
toString in class AbstractSyntacticItemCopyright © 2017. All rights reserved.