Ejemplo n.º 1
0
        private int getPrecedence()
        {
            InfixOPParser parser = getInfix(lookAhead(0));

            if (parser != null)
            {
                return(parser.precedence);
            }
            return(0);
        }
Ejemplo n.º 2
0
 private void registerInfix(string token, InfixOPParser infixParse)
 {
     infixMap.Add(token, infixParse);
 }