{
return;
}
default:
{
XPathSyntaxException ex = createSyntaxException( "Expected one of '.', '..', '@', '*', <QName>" );
throw ex;
}
}
do
{
if ( ( LA(1) == TokenTypes.SLASH)
||
( LA(1) == TokenTypes.DOUBLE_SLASH ) )
{
switch ( LA(1) )
{
case TokenTypes.SLASH:
{
match( TokenTypes.SLASH );
break;
}
case TokenTypes.DOUBLE_SLASH:
{
getXPathHandler().startAllNodeStep( Axis.DESCENDANT_OR_SELF );
getXPathHandler().endAllNodeStep();
match( TokenTypes.DOUBLE_SLASH );
break;
}
}
}
else
{
return;
}
switch ( LA(1) )
{
case TokenTypes.DOT:
case TokenTypes.DOT_DOT:
case TokenTypes.AT:
case TokenTypes.IDENTIFIER:
case TokenTypes.STAR:
{
step();
break;
}
default:
{
XPathSyntaxException ex = createSyntaxException( "Expected one of '.', '..', '@', '*', <QName>" );
throw ex;
}
}
} while ( true );