IronKonoha.Context.SUGAR_P C# (CSharp) Méthode

SUGAR_P() public méthode

public SUGAR_P ( ReportLevel pe, LineInfo line, int lpos, string format ) : uint
pe ReportLevel
line LineInfo
lpos int
format string
Résultat uint
        public uint SUGAR_P(ReportLevel pe, LineInfo line, int lpos, string format, params object[] param)
        {
            return vperrorf(pe, line, lpos, format, param);
        }

Usage Example

Exemple #1
0
 // static kbool_t Stmt_parseSyntaxRule(CTX, kStmt *stmt, kArray *tls, int s, int e)
 public bool parseSyntaxRule(Context ctx, IList<Token> tls, int s, int e)
 {
     bool ret = false;
     Syntax syn = this.ks.GetSyntaxRule(tls, s, e);
     //Debug.Assert(syn != null);
     if (syn != null && syn.SyntaxRule != null)
     {
         this.syn = syn;
         ret = (matchSyntaxRule(ctx, syn.SyntaxRule, this.ULine, tls, s, e, false) != -1);
     }
     else
     {
         ctx.SUGAR_P(ReportLevel.ERR, this.ULine, 0, "undefined syntax rule for '{0}'", syn.KeyWord.ToString());
     }
     return ret;
 }
All Usage Examples Of IronKonoha.Context::SUGAR_P