Exemple #1
0
 public static object DefaultEval(Constant constant)
 {
     return constant.ConstantValue;
 }
Exemple #2
0
 public void VisitConstant(Constant constant)
 {
     OnVisitConstant(constant);
 }
Exemple #3
0
 public void VisitConstant(Constant constant)
 {
     Result = true;
     ConstValue = constant.ConstantValue;
 }
 public object DefaultEvalConstant(Constant constant)
 {
     return Constant.DefaultEval(constant);
 }
 public object EvalConstant(Constant constant)
 {
     return DoEvalConstant(constant);
 }
 public void VisitConstant(Constant constant)
 {
     _result = constant;
 }
Exemple #7
0
 public void VisitConstant(Constant constant)
 {
     object value = constant.ConstantValue;
     Result = _vhdg.VHDLifyConstant(value);
 }
 public void VisitConstant(Constant constant)
 {
     object value = constant.ConstantValue;
     if (constant.Type.CILType.IsEnum)
         Result = _SysCg.GetTypeDescriptorName(constant.Type) + "::" + _SysCg.SystemCifyConstant(value);
     else
         Result = _SysCg.SystemCifyConstant(value);
 }