public class Function3Args extends Function2Args
| Constructor and Description |
|---|
Function3Args() |
| Modifier and Type | Method and Description |
|---|---|
void |
callArgVisitors(XPathVisitor visitor)
Call the visitors for the function arguments.
|
boolean |
canTraverseOutsideSubtree()
Tell if this expression or it's subexpressions can traverse outside the current subtree.
|
void |
checkNumberArgs(int argNum)
Check that the number of arguments passed to this function is correct.
|
boolean |
deepEquals(Expression expr)
Compare this object with another object and see if they are equal, include the sub heararchy.
|
protected void |
reportWrongNumberArgs()
Constructs and throws a WrongNumberArgException with the appropriate message for this function
object.
|
void |
setArg(Expression arg,
int argNum)
Set an argument expression for a function.
|
callVisitors, execute, postCompileStepasIterator, asNode, assertion, bool, error, execute, execute, execute, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isSameClass, isStableNumber, numpublic void setArg(Expression arg, int argNum) throws WrongNumberArgsException
setArg in class Function2Argsarg - non-null expression that represents the argument.argNum - The argument number index.WrongNumberArgsException - If the argNum parameter is beyond what is specified for this
function.public void checkNumberArgs(int argNum)
throws WrongNumberArgsException
checkNumberArgs in class Function2ArgsargNum - The number of arguments that is being passed to the function.WrongNumberArgsException - if anyprotected void reportWrongNumberArgs()
throws WrongNumberArgsException
reportWrongNumberArgs in class Function2ArgsWrongNumberArgsException - if anypublic boolean canTraverseOutsideSubtree()
canTraverseOutsideSubtree in class Function2Argspublic void callArgVisitors(XPathVisitor visitor)
callArgVisitors in class Function2Argspublic boolean deepEquals(Expression expr)
deepEquals in class Function2Argsexpr - Another expression object.Copyright © 2022–2024 HtmlUnit. All rights reserved.