mirror of
https://github.com/JonathanFleischmann/CompilerULTIMATE.git
synced 2024-12-28 17:48:03 +00:00
Added constructor for TypedParameter
This commit is contained in:
parent
68b55a4600
commit
875d0adac4
@ -18,9 +18,12 @@ public class TypedParameter implements TypedNode {
|
|||||||
private String paraName;
|
private String paraName;
|
||||||
private Type type;
|
private Type type;
|
||||||
|
|
||||||
public TypedParameter convertToTypedParameter(Parameter unTypedParameter) {
|
public TypedParameter(Map<String, Type> localVar, TypedClass clas, Parameter unTypedParameter) {
|
||||||
//TODO: implement
|
convertToTypedParameter(localVar, clas, unTypedParameter);
|
||||||
return null;
|
}
|
||||||
|
public void convertToTypedParameter(Map<String, Type> localVar, TypedClass clas, Parameter unTypedParameter) {
|
||||||
|
paraName = unTypedParameter.name();
|
||||||
|
type = unTypedParameter.type();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user