public class FieldDeclaration extends Field
Modifier and Type | Field and Description |
---|---|
private Expr |
wert |
parent
Constructor and Description |
---|
FieldDeclaration(int offset) |
FieldDeclaration(java.lang.String name,
Type typ)
Dieser Konstruktor der FieldDeclaration erstellt den Syntaxknoten vollständig.
|
Modifier and Type | Method and Description |
---|---|
TypeAssumptions |
createTypeAssumptions(Class classmember)
Diese Methode generiert die Assumptions für dieses Feld der Klasse classmember
|
Menge<SyntaxTreeNode> |
getChildren() |
java.lang.String |
getIdentifier() |
int |
getVariableLength() |
Expr |
getWert() |
void |
parserPostProcessing(SyntaxTreeNode parent)
Wird nach dem Parsen aufgerufen.
|
JavaCodeResult |
printJavaCode(ResultSet resultSet) |
void |
setWert(Expr initialExpression) |
java.lang.String |
toString() |
ConstraintsSet |
TYPE(TypeAssumptions publicAssumptions) |
void |
wandleRefTypeAttributes2GenericAttributes(Menge<Type> paralist)
Wird im Zuge des ParserPostProcessing aufgerufen.
|
createTypeInsertPoint, get_Name, getDeclIdMenge, getDescription, getGenericDeclarationList, getGenericParameter, getGenericVarDeclarationOffset, getGenericVarDeclarationString, getOffset, getType, isClass, isPublic, set_DeclId, setDeclIdMenge, setGenericParameter, setOffset, setType
getGTVDeclarationContext
addTypeInsertPoints, equals, getMatchingParentNode, getParent, getParentClass, seesType
private Expr wert
public FieldDeclaration(java.lang.String name, Type typ)
public FieldDeclaration(int offset)
public void setWert(Expr initialExpression)
public Expr getWert()
public java.lang.String getIdentifier()
getIdentifier
in interface TypeInsertable
getIdentifier
in class Field
public java.lang.String toString()
toString
in class java.lang.Object
public JavaCodeResult printJavaCode(ResultSet resultSet)
printJavaCode
in class Field
public TypeAssumptions createTypeAssumptions(Class classmember)
Field
createTypeAssumptions
in class Field
public void parserPostProcessing(SyntaxTreeNode parent)
SyntaxTreeNode
parserPostProcessing
in class SyntaxTreeNode
public Menge<SyntaxTreeNode> getChildren()
getChildren
in class Field
public int getVariableLength()
public ConstraintsSet TYPE(TypeAssumptions publicAssumptions)
public void wandleRefTypeAttributes2GenericAttributes(Menge<Type> paralist)
Field
wandleRefTypeAttributes2GenericAttributes
in class Field