blob: bb65ab806e745657025882cf9e124fceb5bb7e49 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Thu Nov 22 17:12:55 EST 2007 -->
<TITLE>
Xalan-Java 2.7.1: Class XPathParser
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XPathParser.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/apache/xalan/xsltc/compiler/Template.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/apache/xalan/xsltc/compiler/XSLTC.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="XPathParser.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.xalan.xsltc.compiler</FONT>
<BR>
Class XPathParser</H2>
<PRE>
java.lang.Object
|
+--java_cup.runtime.lr_parser
|
+--<B>org.apache.xalan.xsltc.compiler.XPathParser</B>
</PRE>
<HR>
<DL>
<DT>public class <B>XPathParser</B><DT>extends java_cup.runtime.lr_parser</DL>
<P>
CUP v0.10k generated parser.
<P>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;org.apache.xalan.xsltc.compiler.SymbolTable</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#_symbolTable">_symbolTable</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reference to the symbol table.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;org.apache.xalan.xsltc.compiler.VariableRef</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#DummyVarRef">DummyVarRef</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reference to non-existing variable.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.util.Vector</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#EmptyArgs">EmptyArgs</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used by function calls with no args.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#XPathParser()">XPathParser</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default constructor.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#XPathParser(org.apache.xalan.xsltc.compiler.Parser)">XPathParser</A></B>(<A HREF="../../../../../org/apache/xalan/xsltc/compiler/Parser.html">Parser</A>&nbsp;parser)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#XPathParser(java_cup.runtime.Scanner)">XPathParser</A></B>(java_cup.runtime.Scanner&nbsp;s)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor which sets the default scanner.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;short[][]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#action_table()">action_table</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Access to parse-action table.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#addError(org.apache.xalan.xsltc.compiler.util.ErrorMsg)">addError</A></B>(<A HREF="../../../../../org/apache/xalan/xsltc/compiler/util/ErrorMsg.html">ErrorMsg</A>&nbsp;error)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;org.apache.xalan.xsltc.compiler.StepPattern</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#createStepPattern(int, java.lang.Object, java.util.Vector)">createStepPattern</A></B>(int&nbsp;axis,
java.lang.Object&nbsp;test,
java.util.Vector&nbsp;predicates)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is similar to findNodeType(int, Object) except that it
creates a StepPattern instead of just returning a node type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java_cup.runtime.Symbol</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#do_action(int, java_cup.runtime.lr_parser, java.util.Stack, int)">do_action</A></B>(int&nbsp;act_num,
java_cup.runtime.lr_parser&nbsp;parser,
java.util.Stack&nbsp;stack,
int&nbsp;top)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Invoke a user supplied parse action.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#EOF_sym()">EOF_sym</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<code>EOF</code> Symbol index.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#error_sym()">error_sym</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<code>error</code> Symbol index.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#findNodeType(int, java.lang.Object)">findNodeType</A></B>(int&nbsp;axis,
java.lang.Object&nbsp;test)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#getLineNumber()">getLineNumber</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;org.apache.xalan.xsltc.compiler.QName</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#getQName(java.lang.String, java.lang.String, java.lang.String)">getQName</A></B>(java.lang.String&nbsp;namespace,
java.lang.String&nbsp;prefix,
java.lang.String&nbsp;localname)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;org.apache.xalan.xsltc.compiler.QName</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#getQNameIgnoreDefaultNs(java.lang.String)">getQNameIgnoreDefaultNs</A></B>(java.lang.String&nbsp;name)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;org.apache.xalan.xsltc.compiler.RelativeLocationPath</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#insertStep(org.apache.xalan.xsltc.compiler.Step, org.apache.xalan.xsltc.compiler.RelativeLocationPath)">insertStep</A></B>(org.apache.xalan.xsltc.compiler.Step&nbsp;step,
org.apache.xalan.xsltc.compiler.RelativeLocationPath&nbsp;rlp)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#isElementAxis(int)">isElementAxis</A></B>(int&nbsp;axis)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the axis applies to elements only.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java_cup.runtime.Symbol</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#parse(java.lang.String, int)">parse</A></B>(java.lang.String&nbsp;expression,
int&nbsp;lineNumber)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse the expression passed to the current scanner.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;short[][]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#production_table()">production_table</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Access to production table.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;short[][]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#reduce_table()">reduce_table</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Access to <code>reduce_goto</code> table.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#report_error(java.lang.String, java.lang.Object)">report_error</A></B>(java.lang.String&nbsp;message,
java.lang.Object&nbsp;info)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#report_fatal_error(java.lang.String, java.lang.Object)">report_fatal_error</A></B>(java.lang.String&nbsp;message,
java.lang.Object&nbsp;info)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#setCallsNodeset(boolean)">setCallsNodeset</A></B>(boolean&nbsp;flag)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#setHasIdCall(boolean)">setHasIdCall</A></B>(boolean&nbsp;flag)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#setMultiDocument(boolean)">setMultiDocument</A></B>(boolean&nbsp;flag)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#start_production()">start_production</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates start production.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#start_state()">start_state</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates start state.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java_cup.runtime.lr_parser"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java_cup.runtime.lr_parser</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>debug_message,
debug_parse,
debug_reduce,
debug_shift,
debug_stack,
done_parsing,
dump_stack,
getScanner,
parse,
scan,
setScanner,
syntax_error,
unrecovered_syntax_error,
user_init</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="EmptyArgs"><!-- --></A><H3>
EmptyArgs</H3>
<PRE>
public static final java.util.Vector <B>EmptyArgs</B></PRE>
<DL>
<DD>Used by function calls with no args.</DL>
<HR>
<A NAME="DummyVarRef"><!-- --></A><H3>
DummyVarRef</H3>
<PRE>
public static final org.apache.xalan.xsltc.compiler.VariableRef <B>DummyVarRef</B></PRE>
<DL>
<DD>Reference to non-existing variable.</DL>
<HR>
<A NAME="_symbolTable"><!-- --></A><H3>
_symbolTable</H3>
<PRE>
public org.apache.xalan.xsltc.compiler.SymbolTable <B>_symbolTable</B></PRE>
<DL>
<DD>Reference to the symbol table.</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="XPathParser()"><!-- --></A><H3>
XPathParser</H3>
<PRE>
public <B>XPathParser</B>()</PRE>
<DL>
<DD>Default constructor.</DL>
<HR>
<A NAME="XPathParser(java_cup.runtime.Scanner)"><!-- --></A><H3>
XPathParser</H3>
<PRE>
public <B>XPathParser</B>(java_cup.runtime.Scanner&nbsp;s)</PRE>
<DL>
<DD>Constructor which sets the default scanner.</DL>
<HR>
<A NAME="XPathParser(org.apache.xalan.xsltc.compiler.Parser)"><!-- --></A><H3>
XPathParser</H3>
<PRE>
public <B>XPathParser</B>(<A HREF="../../../../../org/apache/xalan/xsltc/compiler/Parser.html">Parser</A>&nbsp;parser)</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="production_table()"><!-- --></A><H3>
production_table</H3>
<PRE>
public short[][] <B>production_table</B>()</PRE>
<DL>
<DD>Access to production table.<DD><DL>
<DT><B>Overrides:</B><DD>production_table in class java_cup.runtime.lr_parser</DL>
</DD>
</DL>
<HR>
<A NAME="action_table()"><!-- --></A><H3>
action_table</H3>
<PRE>
public short[][] <B>action_table</B>()</PRE>
<DL>
<DD>Access to parse-action table.<DD><DL>
<DT><B>Overrides:</B><DD>action_table in class java_cup.runtime.lr_parser</DL>
</DD>
</DL>
<HR>
<A NAME="reduce_table()"><!-- --></A><H3>
reduce_table</H3>
<PRE>
public short[][] <B>reduce_table</B>()</PRE>
<DL>
<DD>Access to <code>reduce_goto</code> table.<DD><DL>
<DT><B>Overrides:</B><DD>reduce_table in class java_cup.runtime.lr_parser</DL>
</DD>
</DL>
<HR>
<A NAME="do_action(int, java_cup.runtime.lr_parser, java.util.Stack, int)"><!-- --></A><H3>
do_action</H3>
<PRE>
public java_cup.runtime.Symbol <B>do_action</B>(int&nbsp;act_num,
java_cup.runtime.lr_parser&nbsp;parser,
java.util.Stack&nbsp;stack,
int&nbsp;top)
throws java.lang.Exception</PRE>
<DL>
<DD>Invoke a user supplied parse action.<DD><DL>
<DT><B>Overrides:</B><DD>do_action in class java_cup.runtime.lr_parser</DL>
</DD>
</DL>
<HR>
<A NAME="start_state()"><!-- --></A><H3>
start_state</H3>
<PRE>
public int <B>start_state</B>()</PRE>
<DL>
<DD>Indicates start state.<DD><DL>
<DT><B>Overrides:</B><DD>start_state in class java_cup.runtime.lr_parser</DL>
</DD>
</DL>
<HR>
<A NAME="start_production()"><!-- --></A><H3>
start_production</H3>
<PRE>
public int <B>start_production</B>()</PRE>
<DL>
<DD>Indicates start production.<DD><DL>
<DT><B>Overrides:</B><DD>start_production in class java_cup.runtime.lr_parser</DL>
</DD>
</DL>
<HR>
<A NAME="EOF_sym()"><!-- --></A><H3>
EOF_sym</H3>
<PRE>
public int <B>EOF_sym</B>()</PRE>
<DL>
<DD><code>EOF</code> Symbol index.<DD><DL>
<DT><B>Overrides:</B><DD>EOF_sym in class java_cup.runtime.lr_parser</DL>
</DD>
</DL>
<HR>
<A NAME="error_sym()"><!-- --></A><H3>
error_sym</H3>
<PRE>
public int <B>error_sym</B>()</PRE>
<DL>
<DD><code>error</code> Symbol index.<DD><DL>
<DT><B>Overrides:</B><DD>error_sym in class java_cup.runtime.lr_parser</DL>
</DD>
</DL>
<HR>
<A NAME="getLineNumber()"><!-- --></A><H3>
getLineNumber</H3>
<PRE>
public int <B>getLineNumber</B>()</PRE>
<DL>
</DL>
<HR>
<A NAME="getQNameIgnoreDefaultNs(java.lang.String)"><!-- --></A><H3>
getQNameIgnoreDefaultNs</H3>
<PRE>
public org.apache.xalan.xsltc.compiler.QName <B>getQNameIgnoreDefaultNs</B>(java.lang.String&nbsp;name)</PRE>
<DL>
</DL>
<HR>
<A NAME="getQName(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
getQName</H3>
<PRE>
public org.apache.xalan.xsltc.compiler.QName <B>getQName</B>(java.lang.String&nbsp;namespace,
java.lang.String&nbsp;prefix,
java.lang.String&nbsp;localname)</PRE>
<DL>
</DL>
<HR>
<A NAME="setMultiDocument(boolean)"><!-- --></A><H3>
setMultiDocument</H3>
<PRE>
public void <B>setMultiDocument</B>(boolean&nbsp;flag)</PRE>
<DL>
</DL>
<HR>
<A NAME="setCallsNodeset(boolean)"><!-- --></A><H3>
setCallsNodeset</H3>
<PRE>
public void <B>setCallsNodeset</B>(boolean&nbsp;flag)</PRE>
<DL>
</DL>
<HR>
<A NAME="setHasIdCall(boolean)"><!-- --></A><H3>
setHasIdCall</H3>
<PRE>
public void <B>setHasIdCall</B>(boolean&nbsp;flag)</PRE>
<DL>
</DL>
<HR>
<A NAME="createStepPattern(int, java.lang.Object, java.util.Vector)"><!-- --></A><H3>
createStepPattern</H3>
<PRE>
public org.apache.xalan.xsltc.compiler.StepPattern <B>createStepPattern</B>(int&nbsp;axis,
java.lang.Object&nbsp;test,
java.util.Vector&nbsp;predicates)</PRE>
<DL>
<DD>This method is similar to findNodeType(int, Object) except that it
creates a StepPattern instead of just returning a node type. It also
differs in the way it handles "{uri}:*" and "{uri}:@*". The last two
patterns are expanded as "*[namespace-uri() = 'uri']" and
"@*[namespace-uri() = 'uri']", respectively. This expansion considerably
simplifies the grouping of patterns in the Mode class. For this
expansion to be correct, the priority of the pattern/template must be
set to -0.25 (when no other predicates are present).</DL>
<HR>
<A NAME="findNodeType(int, java.lang.Object)"><!-- --></A><H3>
findNodeType</H3>
<PRE>
public int <B>findNodeType</B>(int&nbsp;axis,
java.lang.Object&nbsp;test)</PRE>
<DL>
</DL>
<HR>
<A NAME="parse(java.lang.String, int)"><!-- --></A><H3>
parse</H3>
<PRE>
public java_cup.runtime.Symbol <B>parse</B>(java.lang.String&nbsp;expression,
int&nbsp;lineNumber)
throws java.lang.Exception</PRE>
<DL>
<DD>Parse the expression passed to the current scanner. If this
expression contains references to local variables and it will be
compiled in an external module (not in the main class) request
the current template to create a new variable stack frame.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>lineNumber</CODE> - Line where the current expression is defined.<DD><CODE>external</CODE> - Set to <tt>true</tt> if this expression is
compiled in a separate module.</DL>
</DD>
</DL>
<HR>
<A NAME="addError(org.apache.xalan.xsltc.compiler.util.ErrorMsg)"><!-- --></A><H3>
addError</H3>
<PRE>
public final void <B>addError</B>(<A HREF="../../../../../org/apache/xalan/xsltc/compiler/util/ErrorMsg.html">ErrorMsg</A>&nbsp;error)</PRE>
<DL>
</DL>
<HR>
<A NAME="report_error(java.lang.String, java.lang.Object)"><!-- --></A><H3>
report_error</H3>
<PRE>
public void <B>report_error</B>(java.lang.String&nbsp;message,
java.lang.Object&nbsp;info)</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD>report_error in class java_cup.runtime.lr_parser</DL>
</DD>
</DL>
<HR>
<A NAME="report_fatal_error(java.lang.String, java.lang.Object)"><!-- --></A><H3>
report_fatal_error</H3>
<PRE>
public void <B>report_fatal_error</B>(java.lang.String&nbsp;message,
java.lang.Object&nbsp;info)</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD>report_fatal_error in class java_cup.runtime.lr_parser</DL>
</DD>
</DL>
<HR>
<A NAME="insertStep(org.apache.xalan.xsltc.compiler.Step, org.apache.xalan.xsltc.compiler.RelativeLocationPath)"><!-- --></A><H3>
insertStep</H3>
<PRE>
public org.apache.xalan.xsltc.compiler.RelativeLocationPath <B>insertStep</B>(org.apache.xalan.xsltc.compiler.Step&nbsp;step,
org.apache.xalan.xsltc.compiler.RelativeLocationPath&nbsp;rlp)</PRE>
<DL>
</DL>
<HR>
<A NAME="isElementAxis(int)"><!-- --></A><H3>
isElementAxis</H3>
<PRE>
public boolean <B>isElementAxis</B>(int&nbsp;axis)</PRE>
<DL>
<DD>Returns true if the axis applies to elements only. The axes
child, attribute, namespace, descendant result in non-empty
nodesets only if the context node is of type element.</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XPathParser.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/apache/xalan/xsltc/compiler/Template.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/apache/xalan/xsltc/compiler/XSLTC.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="XPathParser.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
Copyright © 2006 Apache XML Project. All Rights Reserved.
</BODY>
</HTML>