Lines Matching defs:expected
485 * Consume an expected token, throwing an exception if it
488 * @param expected The string to be expected.
492 private final void consumeExpected(String expected)
496 if (tokenIs(expected))
502 error(XPATHErrorResources.ER_EXPECTED_BUT_FOUND, new Object[]{ expected,
503 m_token }); //"Expected "+expected+", but found: "+m_token);
513 * Consume an expected token, throwing an exception if it
516 * @param expected the character to be expected.
520 private final void consumeExpected(char expected)
524 if (tokenIs(expected))
531 new Object[]{ String.valueOf(expected),
532 m_token }); //"Expected "+expected+", but found: "+m_token);
1302 // "Relative location path expected following '/' or '//'"
1602 // "Location path expected, but found "+m_token+" was encountered."
1640 // "Location step expected following '/' or '//'"
1740 // "Location step expected following '/' or '//'"
1887 // "Node test that matches either NCName:* or QName was expected."
1914 // "Node test that matches either NCName:* or QName was expected."
2212 // "A relative path pattern was expected."
2340 // "A step was expected in the pattern, but '/' was encountered."