예제 #1
0
        public Expression Parse(string value)
        {
            ParserContext ctx = new ParserContext(value, 0);

            return(GetExpression(ctx));
        }
예제 #2
0
 private bool skipCharacter(char toSkip, ParserContext context)
 {
     return(skipIf((c) => c == toSkip, context));
 }
예제 #3
0
 private bool skipASymbol(ParserContext context)
 {
     return(skipIf((c) => true, context));
 }
예제 #4
0
 private bool skipWhiteSpace(ParserContext context)
 {
     return(skipWhile((c) => char.IsWhiteSpace(c), context));
 }