public class FunctionOperand extends Object implements Operand
Constructor and Description |
---|
FunctionOperand(String name) |
FunctionOperand(String name,
Collection<String> args) |
FunctionOperand(String name,
String... args) |
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(OperandVisitor<R> visitor)
Allows us to perform operations over the operand based on the passed in visitor.
|
boolean |
equals(Object o) |
List<String> |
getArgs() |
String |
getDisplayString()
Renders the function call with its name and arguments for display in the UI.
|
String |
getName()
The name that represents this Operand.
|
int |
hashCode() |
public FunctionOperand(String name)
public FunctionOperand(String name, Collection<String> args)
public String getName()
Operand
public String getDisplayString()
getDisplayString
in interface Operand
public <R> R accept(OperandVisitor<R> visitor)
Operand
Copyright © 2002-2022 Atlassian. All Rights Reserved.