internal RuntimeErrorNode(int line, ERuntimeErrors error = ERuntimeErrors.Unspecified, params object[] args) { Kind = EvalResultKind.Error; Line = line; ErrNo = error; this.args = args; }
internal RuntimeErrorNode RuntimeError(ERuntimeErrors errNo = ERuntimeErrors.Unspecified, params object[] args) { var err = new RuntimeErrorNode(CurrentLine, errNo, args); return(RuntimeError(err)); }