public override void Visit(NumberAST number) { var numberType = new TypeAST { TypeName = number.ExplicitType != string.Empty ? number.ExplicitType : Enum.GetName(typeof(Keyword), Keyword.S32).ToLower() }; _stateInfo.currentType = numberType; }
public override void Visit(NumberAST number) { _currentValue = LLVM.ConstInt(LLVM.Int32Type(), (ulong)number.Value, false); }
public virtual void Visit(NumberAST number) { }