Пример #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));
 }