Exemple #1
0
 public override void Visit(FloatAST floatNumber)
 {
     _stateInfo.currentType = new TypeAST
     {
         TypeName = floatNumber.ExplicitType != string.Empty ?
                    floatNumber.ExplicitType :
                    Enum.GetName(typeof(Keyword), Keyword.F32).ToLower()
     };
 }
Exemple #2
0
 public override void Visit(FloatAST floatNumber)
 {
     _currentValue = LLVM.ConstReal(LLVM.FloatType(), floatNumber.Value);
 }
Exemple #3
0
 public virtual void Visit(FloatAST floatNumber)
 {
 }