public class MethodCall extends Expr
Modifier and Type | Field and Description |
---|---|
private ArgumentList |
arglist |
protected static Logger |
parserlog |
private Receiver |
receiver
Diese Variable speichert die Expression, welche die Klasse von welcher die Methode aufgerufen wird darstellt.
|
inferencelog
parent
Constructor and Description |
---|
MethodCall(int offset,
int variableLength) |
MethodCall(Receiver receiver,
java.lang.String methodName,
ArgumentList argumentList,
int offset) |
Modifier and Type | Method and Description |
---|---|
void |
add_Expr(Expr e) |
UndConstraint |
constraintsFromMethodAssumption(MethodAssumption methodAssumption,
TypeAssumptions assumptions)
Spezifikation:
overloading determines for all possible overloadings and overridings
of a method the constraints, where constraints itself forms
the constraints from the receiver type, the argument types, the return
type and a given type assumption for the method.
|
java.lang.String |
get_Name() |
Receiver |
get_Receiver() |
ArgumentList |
getArgumentList() |
Menge<SyntaxTreeNode> |
getChildren() |
java.lang.String |
getName() |
ConstraintsSet |
overloading(TypeAssumptions assumptions)
Erstellt die Constraints für den eigentlichen Methodenaufruf.
|
void |
parserPostProcessing(SyntaxTreeNode parent)
Wird nach dem Parsen aufgerufen.
|
JavaCodeResult |
printJavaCode(ResultSet resultSet) |
void |
set_ArgumentList(ArgumentList al) |
void |
set_Expr_Menge(Menge<Expr> v) |
void |
set_Name(java.lang.String name) |
void |
set_Receiver(Receiver rec) |
void |
set_UsedId(UsedId u) |
java.lang.String |
toString()
Author: Martin Pl�micke |
ConstraintsSet |
TYPEExpr(TypeAssumptions assumptions) |
ConstraintsSet |
TYPEStmt(TypeAssumptions assumptions)
Spezifikation:
TYPEStmt( Ass, stmt ) =
let (stmt : rty, ConS) = TYPEExpr( Ass, stmt )
in (stmt : Void, ConS)
|
void |
wandleRefTypeAttributes2GenericAttributes(Menge<Type> paralist,
Menge<GenericTypeVar> genericMethodParameters) |
get_Name_Menge, get_Type_Menge, get_UsedId, set_Type
getTypeLineNumber, getTypeName
getDescription, getOffset, getReturnType, getType, getTypeInformation, getVariableLength, setReturnType, setType
addTypeInsertPoints, equals, getGTVDeclarationContext, getMatchingParentNode, getParent, getParentClass, seesType
private Receiver receiver
private ArgumentList arglist
protected static Logger parserlog
public MethodCall(Receiver receiver, java.lang.String methodName, ArgumentList argumentList, int offset)
public MethodCall(int offset, int variableLength)
public void set_ArgumentList(ArgumentList al)
public ArgumentList getArgumentList()
public Receiver get_Receiver()
public void set_Name(java.lang.String name)
public void set_Receiver(Receiver rec)
public void set_UsedId(UsedId u)
set_UsedId
in class Expr
public void add_Expr(Expr e)
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 java.lang.String getName()
public ConstraintsSet TYPEExpr(TypeAssumptions assumptions)
public ConstraintsSet overloading(TypeAssumptions assumptions)
assumptions
- public UndConstraint constraintsFromMethodAssumption(MethodAssumption methodAssumption, TypeAssumptions assumptions)
public ConstraintsSet TYPEStmt(TypeAssumptions assumptions)
public JavaCodeResult printJavaCode(ResultSet resultSet)
printJavaCode
in class Statement
public Menge<SyntaxTreeNode> getChildren()
getChildren
in class SyntaxTreeNode
public void parserPostProcessing(SyntaxTreeNode parent)
SyntaxTreeNode
parserPostProcessing
in class SyntaxTreeNode