public class FormalParameter extends SyntaxTreeNode implements Typeable, TypeInsertable
Modifier and Type | Field and Description |
---|---|
private DeclId |
declid |
protected static Logger |
inferencelog |
private Type |
type |
parent
Constructor and Description |
---|
FormalParameter(DeclId name) |
Modifier and Type | Method and Description |
---|---|
TypeInsertPoint |
createTypeInsertPoint(TypePlaceholder tph,
ResultSet resultSet)
Errechnet den TypeInsertPoint für das TypeInsertable.
|
boolean |
equals(java.lang.Object object) |
Menge<SyntaxTreeNode> |
getChildren() |
DeclId |
getDeclId() |
java.lang.String |
getDescription()
Eine Beschreibung/Name des SyntaxTree-Nodes
|
java.lang.String |
getIdentifier() |
int |
getLineNumber()
Author: J�rg B�uerle |
int |
getOffset()
Author: Thomas Hornberger 09.04.2006 |
Type |
getType() |
java.lang.String |
getTypeInformation() |
int |
getTypeLineNumber()
Author: J�rg B�uerle |
java.lang.String |
getTypeName() |
int |
getVariableLength() |
void |
parserPostProcessing(SyntaxTreeNode parent)
Wird nach dem Parsen aufgerufen.
|
JavaCodeResult |
printJavaCode(ResultSet resultSet) |
void |
set_DeclId(DeclId did) |
void |
setOffset(int offset) |
void |
setType(Type t)
Author: J�rg B�uerle |
java.lang.String |
toString() |
addTypeInsertPoints, getGTVDeclarationContext, getMatchingParentNode, getParent, getParentClass, seesType
private Type type
private DeclId declid
protected static Logger inferencelog
public FormalParameter(DeclId name)
public boolean equals(java.lang.Object object)
equals
in class SyntaxTreeNode
public void setType(Type t)
public void set_DeclId(DeclId did)
public java.lang.String getIdentifier()
getIdentifier
in interface TypeInsertable
public java.lang.String getTypeName()
public int getOffset()
getOffset
in interface IItemWithOffset
getOffset
in interface TypeInsertable
public int getLineNumber()
public int getTypeLineNumber()
public java.lang.String getTypeInformation()
public java.lang.String toString()
toString
in class java.lang.Object
public JavaCodeResult printJavaCode(ResultSet resultSet)
public void setOffset(int offset)
setOffset
in interface TypeInsertable
public Menge<SyntaxTreeNode> getChildren()
getChildren
in class SyntaxTreeNode
public void parserPostProcessing(SyntaxTreeNode parent)
SyntaxTreeNode
parserPostProcessing
in class SyntaxTreeNode
public TypeInsertPoint createTypeInsertPoint(TypePlaceholder tph, ResultSet resultSet)
TypeInsertable
createTypeInsertPoint
in interface TypeInsertable
public int getVariableLength()
getVariableLength
in interface IItemWithOffset
public DeclId getDeclId()
public java.lang.String getDescription()
SyntaxTreeNode
getDescription
in class SyntaxTreeNode