public class Block extends Node
Modifier and Type | Class and Description |
---|---|
class |
Block.BlockBodyAdapter |
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_BODY |
static String |
SERIALIZED_NAME_TYPE |
Constructor and Description |
---|
Block() |
Modifier and Type | Method and Description |
---|---|
Block |
addBodyItem(Statement bodyItem) |
Block |
body(List<Statement> body) |
boolean |
equals(Object o) |
List<Statement> |
getBody()
Block body
|
String |
getType()
Type of AST node
|
int |
hashCode() |
void |
setBody(List<Statement> body) |
void |
setType(String type) |
String |
toString() |
Block |
type(String type) |
public static final String SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_BODY
Copyright © 2018–2021 InfluxData, Inc.. All rights reserved.