public EXPRCONSTANT CreateConstant(CType pType, CONSTVAL constVal, EXPR pOriginal) { EXPRCONSTANT rval = CreateConstant(pType); rval.setVal(constVal); Debug.Assert(rval != null); return(rval); }
public void SetDefaultParameterValue(int index, CType type, CONSTVAL cv) { Debug.Assert(_defaultParameterIndex != null); ConstValFactory factory = new ConstValFactory(); _defaultParameterIndex[index] = true; _defaultParameters[index] = factory.Copy(type.constValKind(), cv); _defaultParameterConstValTypes[index] = type; }
public EXPRCONSTANT CreateConstant(CType pType, CONSTVAL constVal) { return(CreateConstant(pType, constVal, null)); }
public void setVal(CONSTVAL newValue) { Val = newValue; }