public interface TypedStructure
| Modifier and Type | Method and Description |
|---|---|
void |
addArgumentType(Sort argType)
Adds the given Sort as argument type to the typed Structure
|
TypedStructure |
clone()
Creates a deep copy of this object
|
List<Sort> |
getArgumentTypes() |
int |
getArity() |
String |
getName() |
boolean |
isComplete() |
boolean |
isTyped() |
Sort |
removeArgumentType(int index)
Removes the argument type at the specified index
|
boolean |
removeArgumentType(Sort argType)
Removes the given Sort from the list of argument types
|
void |
setName(String name)
Changes the name of the Structure
|
String getName()
void setName(String name) throws LanguageException
name - The new name of the structureLanguageException - if the new name is illegal in the language.int getArity()
List<Sort> getArgumentTypes()
void addArgumentType(Sort argType) throws LanguageException
argType - The Sort descibing the argument typeLanguageExceptionSort removeArgumentType(int index) throws LanguageException
index - The indexLanguageException, - IndexOutOfBoundsExceptionLanguageExceptionboolean removeArgumentType(Sort argType) throws LanguageException
argType - The Sort which is removedLanguageExceptionboolean isTyped()
boolean isComplete()
TypedStructure clone()
Copyright © 2019. All rights reserved.