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, seesTypeprivate Type type
private DeclId declid
protected static Logger inferencelog
public FormalParameter(DeclId name)
public boolean equals(java.lang.Object object)
equals in class SyntaxTreeNodepublic void setType(Type t)
public void set_DeclId(DeclId did)
public java.lang.String getIdentifier()
getIdentifier in interface TypeInsertablepublic java.lang.String getTypeName()
public int getOffset()
getOffset in interface IItemWithOffsetgetOffset in interface TypeInsertablepublic int getLineNumber()
public int getTypeLineNumber()
public java.lang.String getTypeInformation()
public java.lang.String toString()
toString in class java.lang.Objectpublic JavaCodeResult printJavaCode(ResultSet resultSet)
public void setOffset(int offset)
setOffset in interface TypeInsertablepublic Menge<SyntaxTreeNode> getChildren()
getChildren in class SyntaxTreeNodepublic void parserPostProcessing(SyntaxTreeNode parent)
SyntaxTreeNodeparserPostProcessing in class SyntaxTreeNodepublic TypeInsertPoint createTypeInsertPoint(TypePlaceholder tph, ResultSet resultSet)
TypeInsertablecreateTypeInsertPoint in interface TypeInsertablepublic int getVariableLength()
getVariableLength in interface IItemWithOffsetpublic DeclId getDeclId()
public java.lang.String getDescription()
SyntaxTreeNodegetDescription in class SyntaxTreeNode