| <!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> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XPathParser.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
| </TR>
|
| </TABLE>
|
| </TD>
|
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
| </EM>
|
| </TD>
|
| </TR>
|
|
|
| <TR>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| <A HREF="../../../../../org/apache/xalan/xsltc/compiler/Template.html"><B>PREV CLASS</B></A>
|
| <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>
|
| <A HREF="XPathParser.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
| </TR>
|
| <TR>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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> 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>
|
| Reference to the symbol table.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE>static 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>
|
| Reference to non-existing variable.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE>static java.util.Vector</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#EmptyArgs">EmptyArgs</A></B></CODE>
|
|
|
| <BR>
|
| Used by function calls with no args.</TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <!-- ======== 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>
|
| 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> parser)</CODE>
|
|
|
| <BR>
|
| </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 s)</CODE>
|
|
|
| <BR>
|
| Constructor which sets the default scanner.</TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <!-- ========== 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> short[][]</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#action_table()">action_table</A></B>()</CODE>
|
|
|
| <BR>
|
| Access to parse-action table.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> 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> error)</CODE>
|
|
|
| <BR>
|
| </TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> 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 axis, |
| java.lang.Object test, |
| java.util.Vector predicates)</CODE>
|
|
|
| <BR>
|
| 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> 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 act_num, |
| java_cup.runtime.lr_parser parser, |
| java.util.Stack stack, |
| int top)</CODE>
|
|
|
| <BR>
|
| Invoke a user supplied parse action.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#EOF_sym()">EOF_sym</A></B>()</CODE>
|
|
|
| <BR>
|
| <code>EOF</code> Symbol index.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#error_sym()">error_sym</A></B>()</CODE>
|
|
|
| <BR>
|
| <code>error</code> Symbol index.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> 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 axis, |
| java.lang.Object test)</CODE>
|
|
|
| <BR>
|
| </TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#getLineNumber()">getLineNumber</A></B>()</CODE>
|
|
|
| <BR>
|
| </TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> 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 namespace, |
| java.lang.String prefix, |
| java.lang.String localname)</CODE>
|
|
|
| <BR>
|
| </TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> 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 name)</CODE>
|
|
|
| <BR>
|
| </TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> 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 step, |
| org.apache.xalan.xsltc.compiler.RelativeLocationPath rlp)</CODE>
|
|
|
| <BR>
|
| </TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> boolean</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#isElementAxis(int)">isElementAxis</A></B>(int axis)</CODE>
|
|
|
| <BR>
|
| 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> 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 expression, |
| int lineNumber)</CODE>
|
|
|
| <BR>
|
| 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> short[][]</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#production_table()">production_table</A></B>()</CODE>
|
|
|
| <BR>
|
| Access to production table.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> short[][]</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#reduce_table()">reduce_table</A></B>()</CODE>
|
|
|
| <BR>
|
| 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> 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 message, |
| java.lang.Object info)</CODE>
|
|
|
| <BR>
|
| </TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> 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 message, |
| java.lang.Object info)</CODE>
|
|
|
| <BR>
|
| </TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#setCallsNodeset(boolean)">setCallsNodeset</A></B>(boolean flag)</CODE>
|
|
|
| <BR>
|
| </TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#setHasIdCall(boolean)">setHasIdCall</A></B>(boolean flag)</CODE>
|
|
|
| <BR>
|
| </TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#setMultiDocument(boolean)">setMultiDocument</A></B>(boolean flag)</CODE>
|
|
|
| <BR>
|
| </TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#start_production()">start_production</A></B>()</CODE>
|
|
|
| <BR>
|
| Indicates start production.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/compiler/XPathParser.html#start_state()">start_state</A></B>()</CODE>
|
|
|
| <BR>
|
| Indicates start state.</TD>
|
| </TR>
|
| </TABLE>
|
| <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>
|
| <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>
|
|
|
| <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 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> 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 act_num, |
| java_cup.runtime.lr_parser parser, |
| java.util.Stack stack, |
| int 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 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 namespace, |
| java.lang.String prefix, |
| java.lang.String localname)</PRE>
|
| <DL>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setMultiDocument(boolean)"><!-- --></A><H3>
|
| setMultiDocument</H3>
|
| <PRE>
|
| public void <B>setMultiDocument</B>(boolean flag)</PRE>
|
| <DL>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setCallsNodeset(boolean)"><!-- --></A><H3>
|
| setCallsNodeset</H3>
|
| <PRE>
|
| public void <B>setCallsNodeset</B>(boolean flag)</PRE>
|
| <DL>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setHasIdCall(boolean)"><!-- --></A><H3>
|
| setHasIdCall</H3>
|
| <PRE>
|
| public void <B>setHasIdCall</B>(boolean 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 axis, |
| java.lang.Object test, |
| java.util.Vector 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 axis, |
| java.lang.Object 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 expression, |
| int 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> 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 message, |
| java.lang.Object 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 message, |
| java.lang.Object 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 step, |
| org.apache.xalan.xsltc.compiler.RelativeLocationPath rlp)</PRE>
|
| <DL>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="isElementAxis(int)"><!-- --></A><H3>
|
| isElementAxis</H3>
|
| <PRE>
|
| public boolean <B>isElementAxis</B>(int 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> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XPathParser.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
| </TR>
|
| </TABLE>
|
| </TD>
|
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
| </EM>
|
| </TD>
|
| </TR>
|
|
|
| <TR>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| <A HREF="../../../../../org/apache/xalan/xsltc/compiler/Template.html"><B>PREV CLASS</B></A>
|
| <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>
|
| <A HREF="XPathParser.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
| </TR>
|
| <TR>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
| </TR>
|
| </TABLE>
|
| <!-- =========== END OF NAVBAR =========== -->
|
|
|
| <HR>
|
| Copyright © 2006 Apache XML Project. All Rights Reserved.
|
| </BODY>
|
| </HTML>
|