You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by sb...@locus.apache.org on 2000/07/31 00:40:51 UTC
cvs commit: xml-xalan/java/src/org/apache/xpath/compiler OpMap.java
sboag 00/07/30 15:40:51
Modified: java/src/org/apache/xpath/compiler OpMap.java
Log:
Add getArgLength method.
Revision Changes Path
1.2 +9 -0 xml-xalan/java/src/org/apache/xpath/compiler/OpMap.java
Index: OpMap.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/org/apache/xpath/compiler/OpMap.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- OpMap.java 2000/07/05 14:45:38 1.1
+++ OpMap.java 2000/07/30 22:40:50 1.2
@@ -291,6 +291,15 @@
* <meta name="usage" content="advanced"/>
* Go to the first child of a given operation.
*/
+ public int getArgLength(int opPos)
+ {
+ return m_opMap[opPos+MAPINDEX_LENGTH];
+ }
+
+ /**
+ * <meta name="usage" content="advanced"/>
+ * Go to the first child of a given operation.
+ */
public int getArgLengthOfStep(int opPos)
{
return m_opMap[opPos+MAPINDEX_LENGTH+1]-3;