static IContext BuildTestContext() { var context = new Context(); DeclarationConverter.BuildContext( context, new IntrinsicDict { U64Type.Get(), }); return(context); }
public Compiler() { InjectedContext = new Context(); DeclarationConverter.BuildContext( InjectedContext, new IntrinsicDict { U64Type.Get(), NumberLiteralType.Get(), PrintIntrinsic.Get(), SimpleMathIntrinsic <ulong, UlongMath> .Get() }); }
static IContext BuildTestContext() { var context = new Context(); DeclarationConverter.BuildContext( context, new IntrinsicDict { U64Type.Get(), NumberLiteralType.Get(), SimpleMathIntrinsic <ulong, UlongMath> .Get() }); return(context); }