Beispiel #1
0
 public override void Visit(HexNumberAST hexNumber)
 {
     _stateInfo.currentType = new TypeAST
     {
         TypeName = hexNumber.ExplicitType != string.Empty ?
                    hexNumber.ExplicitType :
                    Enum.GetName(typeof(Keyword), Keyword.S32).ToLower()
     };
 }
Beispiel #2
0
 public override void Visit(HexNumberAST hexNumber)
 {
     _currentValue = LLVM.ConstInt(LLVM.Int32Type(), (ulong)hexNumber.Value, false);
 }
Beispiel #3
0
 public virtual void Visit(HexNumberAST hexNumber)
 {
 }