public static final class WyilFile.Type extends WyilFile.Declaration
| Constructor and Description |
|---|
Type(WyilFile parent,
Collection<Modifier> modifiers,
String name,
Type type,
wybs.lang.Attribute... attributes) |
Type(WyilFile parent,
Collection<Modifier> modifiers,
String name,
Type type,
Collection<wybs.lang.Attribute> attributes) |
| Modifier and Type | Method and Description |
|---|---|
List<SyntaxTree.Location<Bytecode.Expr>> |
getInvariant()
Get the list of expressions that make up the invariant of this
type.
|
Type |
type() |
getTree, hasModifier, modifiers, nameattribute, attributes, parentpublic Type(WyilFile parent, Collection<Modifier> modifiers, String name, Type type, wybs.lang.Attribute... attributes)
public Type(WyilFile parent, Collection<Modifier> modifiers, String name, Type type, Collection<wybs.lang.Attribute> attributes)
public Type type()
public List<SyntaxTree.Location<Bytecode.Expr>> getInvariant()
Copyright © 2017. All rights reserved.