mirror of
https://github.com/JonathanFleischmann/CompilerULTIMATE.git
synced 2024-12-28 17:08: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 Type type;
|
||||
|
||||
public TypedParameter convertToTypedParameter(Parameter unTypedParameter) {
|
||||
//TODO: implement
|
||||
return null;
|
||||
public TypedParameter(Map<String, Type> localVar, TypedClass clas, Parameter unTypedParameter) {
|
||||
convertToTypedParameter(localVar, clas, unTypedParameter);
|
||||
}
|
||||
public void convertToTypedParameter(Map<String, Type> localVar, TypedClass clas, Parameter unTypedParameter) {
|
||||
paraName = unTypedParameter.name();
|
||||
type = unTypedParameter.type();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user