public static ZilObject COMPILATION_FLAG_VALUE([NotNull] Context ctx, AtomParams.StringOrAtom name) { var atom = name.GetAtom(ctx); return(ctx.GetCompilationFlagValue(atom) ?? ctx.FALSE); }
public static ZilObject COMPILATION_FLAG_DEFAULT([NotNull] Context ctx, AtomParams.StringOrAtom name, [NotNull] ZilObject value) { var atom = name.GetAtom(ctx); ctx.DefineCompilationFlag(atom, value); return(atom); }
public static ZilObject COMPILATION_FLAG([NotNull] Context ctx, AtomParams.StringOrAtom name, [CanBeNull] ZilObject value = null) { var atom = name.GetAtom(ctx); ctx.DefineCompilationFlag(atom, value ?? ctx.TRUE, true); return(atom); }