Class TypeSymbol
java.lang.Object
de.monticore.symbols.basicsymbols._symboltable.TypeSymbolTOP
de.monticore.symbols.basicsymbols._symboltable.TypeSymbol
- All Implemented Interfaces:
ICommonBasicSymbolsSymbol,de.monticore.symboltable.IScopeSpanningSymbol,de.monticore.symboltable.ISymbol
- Direct Known Subclasses:
ComponentType2TypeSymbolAdapter,OOTypeSymbolTOP,TypeSymbolSurrogateTOP,TypeVarSymbolTOP
-
Field Summary
Fields inherited from class de.monticore.symbols.basicsymbols._symboltable.TypeSymbolTOP
accessModifier, astNode, enclosingScope, fullName, name, packageName, spannedScope, stereoinfo, superTypes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidde.monticore.symboltable.modifiers.AccessModifierget a list of all the methods the type definition can accessgetFunctionList(String methodname) search in the scope for methods with a specific nameget a list of all the fields the type definition can accessgetVariableList(String fieldname) search in the scope for methods with a specific namebooleanvoidsetFunctionList(List<FunctionSymbol> methodList) Methods inherited from class de.monticore.symbols.basicsymbols._symboltable.TypeSymbolTOP
accept, accept, accept, addAllSuperTypes, addAllSuperTypes, addSuperTypes, addSuperTypes, clearSuperTypes, containsAllSuperTypes, containsSuperTypes, determineFullName, determinePackageName, equals, equalsSuperTypes, forEachSuperTypes, getAstNode, getEnclosingScope, getFullName, getName, getPackageName, getSpannedScope, getStereoinfo, getSuperTypes, getSuperTypesList, getThis, hashCodeSuperTypes, indexOfSuperTypes, isEmptySuperTypes, isPresentAstNode, iteratorSuperTypes, lastIndexOfSuperTypes, listIteratorSuperTypes, listIteratorSuperTypes, parallelStreamSuperTypes, removeAllSuperTypes, removeIfSuperTypes, removeSuperTypes, removeSuperTypes, replaceAllSuperTypes, retainAllSuperTypes, setAccessModifier, setAstNode, setAstNodeAbsent, setEnclosingScope, setFullName, setName, setPackageName, setSpannedScope, setStereoinfo, setSuperTypes, setSuperTypesList, sizeSuperTypes, sortSuperTypes, spliteratorSuperTypes, streamSuperTypes, subListSuperTypes, toArraySuperTypes, toArraySuperTypes, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.monticore.symboltable.ISymbol
getSourcePosition
-
Constructor Details
-
TypeSymbol
-
-
Method Details
-
setFunctionList
-
getSuperClassesOnly
-
getInterfaceList
-
getFunctionList
get a list of all the methods the type definition can access -
getFunctionList
search in the scope for methods with a specific name -
getVariableList
get a list of all the fields the type definition can access -
getVariableList
search in the scope for methods with a specific name -
getTypeParameterList
-
addTypeVarSymbol
-
addVariableSymbol
-
addFunctionSymbol
-
isPresentSuperClass
public boolean isPresentSuperClass() -
getSuperClass
-
getAccessModifier
public de.monticore.symboltable.modifiers.AccessModifier getAccessModifier()- Specified by:
getAccessModifierin interfacede.monticore.symboltable.ISymbol- Overrides:
getAccessModifierin classTypeSymbolTOP
-