public class ConstDeclaration extends Declaration
const ::= 'const' {type} {name} '=' {value} {annotations}?;
| Constructor and Description |
|---|
ConstDeclaration(String documentation,
ThriftToken constToken,
ThriftToken name,
List<ThriftToken> typeTokens,
List<ThriftToken> valueTokens,
List<AnnotationDeclaration> annotations) |
| Modifier and Type | Method and Description |
|---|---|
ThriftToken |
getConstToken() |
String |
getType() |
List<ThriftToken> |
getTypeTokens() |
String |
getValue() |
List<ThriftToken> |
getValueTokens() |
getAnnotations, getDocumentation, getName, getNameTokenpublic ConstDeclaration(@Nullable String documentation, @Nonnull ThriftToken constToken, @Nonnull ThriftToken name, @Nonnull List<ThriftToken> typeTokens, List<ThriftToken> valueTokens, List<AnnotationDeclaration> annotations)
public ThriftToken getConstToken()
public String getType()
public List<ThriftToken> getTypeTokens()
public String getValue()
public List<ThriftToken> getValueTokens()
Copyright © 2015–2020 morimekta.net. All rights reserved.