public class ImportDeclaration extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_AS |
static String |
SERIALIZED_NAME_PATH |
static String |
SERIALIZED_NAME_TYPE |
Constructor and Description |
---|
ImportDeclaration() |
Modifier and Type | Method and Description |
---|---|
ImportDeclaration |
as(Identifier as) |
boolean |
equals(Object o) |
Identifier |
getAs()
Get as
|
StringLiteral |
getPath()
Get path
|
String |
getType()
Type of AST node
|
int |
hashCode() |
ImportDeclaration |
path(StringLiteral path) |
void |
setAs(Identifier as) |
void |
setPath(StringLiteral path) |
void |
setType(String type) |
String |
toString() |
ImportDeclaration |
type(String type) |
public static final String SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_AS
public static final String SERIALIZED_NAME_PATH
public ImportDeclaration type(String type)
public String getType()
public void setType(String type)
public ImportDeclaration as(Identifier as)
public Identifier getAs()
public void setAs(Identifier as)
public ImportDeclaration path(StringLiteral path)
public StringLiteral getPath()
public void setPath(StringLiteral path)
Copyright © 2018–2020 InfluxData, Inc.. All rights reserved.