public class ReturnStatement extends Statement
| Modifier and Type | Class and Description |
|---|---|
static class |
ReturnStatement.ReturnStatementArgumentAdapter |
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_ARGUMENT |
static String |
SERIALIZED_NAME_TYPE |
| Constructor and Description |
|---|
ReturnStatement() |
| Modifier and Type | Method and Description |
|---|---|
ReturnStatement |
argument(Expression argument) |
boolean |
equals(Object o) |
Expression |
getArgument()
Get argument
|
String |
getType()
Type of AST node
|
int |
hashCode() |
void |
setArgument(Expression argument) |
void |
setType(String type) |
String |
toString() |
ReturnStatement |
type(String type) |
public static final String SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_ARGUMENT
public ReturnStatement type(String type)
public String getType()
public void setType(String type)
public ReturnStatement argument(Expression argument)
public Expression getArgument()
public void setArgument(Expression argument)
Copyright © 2018–2023 InfluxData, Inc.. All rights reserved.