| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.mit.csail.sdg.alloy4compiler.ast.Attr
public final class Attr
Immutable; represents attributes that can be associated with Signatures and some other AST objects.
| Nested Class Summary | |
|---|---|
| static class | Attr.AttrTypeThis class contains all possible attribute types. | 
| Field Summary | |
|---|---|
| static Attr | ABSTRACTABSTRACT; if a PrimSig is abstract, it is equal to the union of its subsigs. | 
| static Attr | BUILTINBUILTIN; every builtin Sig has the BUILTIN attribute, and every non-builtin Sig does not. | 
| static Attr | ENUMENUM; if a PrimSig has the ENUM attribute, it is toplevel and abstract and has only singleton children. | 
| static Attr | EXACTEXACT; if a SubsetSig is exact, it is equal to the union of its parents. | 
| static Attr | LONELONE; if a Sig is lone, it has at most one atom. | 
| static Attr | METAMETA; if a Sig has the META attribute, it means it is a META atom corresponding to some real signature or field. | 
| static Attr | ONEONE; if a Sig is one, it has exactly one atom. | 
|  Pos | posThe position associated with this attribute. | 
| static Attr | PRIVATEPRIVATE; if a Sig has the PRIVATE attribute, it means its label is private within the same module. | 
| static Attr | SOMESOME; if a Sig is some, it has at least one atom. | 
| static Attr | SUBSETSUBSET; every SubsetSig has the SUBSET attribute set, and the SUBSIG attribute unset. | 
| static Attr | SUBSIGSUBSIG; every PrimSig (including the builtin sigs) has the SUBSIG attribute set, and the SUBSET attribute unset. | 
|  Attr.AttrType | typeThe type of this attribute. | 
| Method Summary | |
|---|---|
|  java.lang.String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public final Attr.AttrType type
public final Pos pos
public static final Attr ABSTRACT
public static final Attr SOME
public static final Attr ONE
public static final Attr LONE
public static final Attr EXACT
public static final Attr SUBSIG
public static final Attr SUBSET
public static final Attr META
public static final Attr PRIVATE
public static final Attr BUILTIN
public static final Attr ENUM
| Method Detail | 
|---|
public final java.lang.String toString()
toString in class java.lang.Object| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||