public class LocalVarDecl extends Statement implements TypeInsertable
Modifier and Type | Field and Description |
---|---|
Block |
block |
private Menge<DeclId> |
declid |
protected static Logger |
inferencelog |
private java.util.Hashtable<java.lang.String,Type> |
parahash |
private Menge |
paralist |
protected static Logger |
parserlog |
parent
Constructor and Description |
---|
LocalVarDecl(int offset,
int variableLength) |
Modifier and Type | Method and Description |
---|---|
TypeInsertPoint |
createTypeInsertPoint(TypePlaceholder tph,
ResultSet resultSet)
Errechnet den TypeInsertPoint für das TypeInsertable.
|
java.lang.String |
get_Name() |
Menge<SyntaxTreeNode> |
getChildren() |
Menge<DeclId> |
getDeclidMenge() |
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 |
java.lang.String |
getTypeInformation() |
int |
getTypeLineNumber()
Author: J�rg B�uerle |
void |
is_declared(Type t,
Menge<Class> classlist) |
void |
parserPostProcessing(SyntaxTreeNode parent)
Wird nach dem Parsen aufgerufen.
|
JavaCodeResult |
printJavaCode(ResultSet resultSet) |
void |
set_DeclId(DeclId did) |
void |
set_ParaList(Menge pl) |
void |
setDeclidMenge(Menge<DeclId> declid) |
void |
setOffset(int offset) |
java.lang.String |
toString()
Author: Martin Pl�micke |
ConstraintsSet |
TYPEStmt(TypeAssumptions assumptions) |
void |
wandleRefTypeAttributes2GenericAttributes(Menge<Type> paralist,
Menge<GenericTypeVar> genericMethodParameters) |
getReturnType, getType, getVariableLength, setReturnType, setType
addTypeInsertPoints, equals, getGTVDeclarationContext, getMatchingParentNode, getParent, getParentClass, seesType
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getVariableLength
private Menge paralist
private java.util.Hashtable<java.lang.String,Type> parahash
protected static Logger inferencelog
protected static Logger parserlog
public Block block
public void set_DeclId(DeclId did)
public java.lang.String get_Name()
public void set_ParaList(Menge pl)
public void is_declared(Type t, Menge<Class> classlist) throws SCStatementException
SCStatementException
public int getLineNumber()
public int getOffset()
getOffset
in interface IItemWithOffset
getOffset
in interface TypeInsertable
getOffset
in class Statement
public int getTypeLineNumber()
public java.lang.String toString()
toString
in class java.lang.Object
public void wandleRefTypeAttributes2GenericAttributes(Menge<Type> paralist, Menge<GenericTypeVar> genericMethodParameters)
wandleRefTypeAttributes2GenericAttributes
in class Statement
public ConstraintsSet TYPEStmt(TypeAssumptions assumptions)
public java.lang.String getDescription()
SyntaxTreeNode
getDescription
in class Statement
public void parserPostProcessing(SyntaxTreeNode parent)
SyntaxTreeNode
parserPostProcessing
in class SyntaxTreeNode
public java.lang.String getTypeInformation()
getTypeInformation
in class Statement
public JavaCodeResult printJavaCode(ResultSet resultSet)
printJavaCode
in class Statement
public void setOffset(int offset)
setOffset
in interface TypeInsertable
public java.lang.String getIdentifier()
getIdentifier
in interface TypeInsertable
public Menge<SyntaxTreeNode> getChildren()
getChildren
in class SyntaxTreeNode
public TypeInsertPoint createTypeInsertPoint(TypePlaceholder tph, ResultSet resultSet)
TypeInsertable
createTypeInsertPoint
in interface TypeInsertable