public abstract class Fn extends Expr implements Into<Condition>
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(ExprVisitor<R> visitor) |
abstract <T> T |
acceptFnVisitor(FnVisitor<T> visitor) |
Condition |
condition()
Convert this fn into a condition
|
Condition |
condition(String result) |
boolean |
equals(Object o) |
protected Expr |
expectOneArg() |
protected Pair<Expr,Expr> |
expectTwoArgs() |
protected List<Expr> |
expectVariableArgs(int expectedNumberArgs) |
List<Expr> |
getArgv() |
String |
getName()
Returns the name of this function, eg.
|
int |
hashCode() |
Condition |
into() |
String |
toString() |
fromNode, getAttr, getAttr, of, of, of, parseShortform, ref, template
protected FnNode fnNode
public Fn(FnNode fnNode)
public Condition condition()
public abstract <T> T acceptFnVisitor(FnVisitor<T> visitor)
public <R> R accept(ExprVisitor<R> visitor)
public String getName()
isSet
, parseUrl
protected Expr expectOneArg()
Copyright © 2023. All rights reserved.