EOF_sym
public int EOF_sym()
EOF
Symbol index.
action_table
public short[][] action_table()
Access to parse-action table.
addError
public final void addError(ErrorMsg error)
createStepPattern
public org.apache.xalan.xsltc.compiler.StepPattern createStepPattern(int axis,
Object test,
Vector predicates)
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).
do_action
public java_cup.runtime.Symbol do_action(int act_num,
java_cup.runtime.lr_parser parser,
Stack stack,
int top)
throws java.lang.Exception
Invoke a user supplied parse action.
error_sym
public int error_sym()
error
Symbol index.
findNodeType
public int findNodeType(int axis,
Object test)
getLineNumber
public int getLineNumber()
getQName
public org.apache.xalan.xsltc.compiler.QName getQName(String namespace,
String prefix,
String localname)
getQNameIgnoreDefaultNs
public org.apache.xalan.xsltc.compiler.QName getQNameIgnoreDefaultNs(String name)
insertStep
public org.apache.xalan.xsltc.compiler.RelativeLocationPath insertStep(org.apache.xalan.xsltc.compiler.Step step,
org.apache.xalan.xsltc.compiler.RelativeLocationPath rlp)
isElementAxis
public boolean isElementAxis(int axis)
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.
parse
public Symbol parse(String expression,
int lineNumber)
throws Exception
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.
lineNumber
- Line where the current expression is defined.
production_table
public short[][] production_table()
Access to production table.
reduce_table
public short[][] reduce_table()
Access to reduce_goto
table.
report_error
public void report_error(String message,
Object info)
report_fatal_error
public void report_fatal_error(String message,
Object info)
setCallsNodeset
public void setCallsNodeset(boolean flag)
setHasIdCall
public void setHasIdCall(boolean flag)
setMultiDocument
public void setMultiDocument(boolean flag)
start_production
public int start_production()
Indicates start production.
start_state
public int start_state()
Indicates start state.