tuna-master/joern/src/main/java/ast/functionDef/ParameterType.java
package ast.functionDef;

import ast.ASTNode;
import org.antlr.v4.runtime.ParserRuleContext;

public class ParameterType extends ASTNode {
    String completeType = "";
    String baseType = "";

    public String getEscapedCodeStr() {
        if (codeStr != null)
            return codeStr;
        codeStr = completeType;
        return codeStr;
    }

    public void setCompleteType(String aCompleteType) {
        completeType = aCompleteType;
    }

    public void setBaseType(String aBaseType) {
        baseType = aBaseType;
    }

    public void initializeFromContext(ParserRuleContext aCtx) {
        // use entire parameter as location. It's the best
        // we can do right now.
        super.initializeFromContext(aCtx);
    }

}
