示例#1
0
 public override Boolean TryParseNumber(LimString limString)
 {
     UInt32 result;
     UInt32 parsed = Extensions.TryParseUInt32(limString.buffer,
         limString.offset, limString.limit, out result);
     if (parsed == limString.limit)
     {
         sp++;
         stack[sp] = result;
         //Console.WriteLine("[DEBUG] Got Number '{0}'", result);
         return true;
     }
     else
     {
         //Console.WriteLine("[DEBUG] Not a Number '{0}'", limString);
         return false;
     }
 }
示例#2
0
文件: IO.cs 项目: marler8997/fith
 public void Print(LimString limString)
 {
     Print(limString.buffer, limString.offset, limString.limit - limString.offset);
 }
示例#3
0
 public abstract Boolean TryParseNumber(LimString limString);