Package | Description |
---|---|
com.asakusafw.dmdl.model |
Syntactic models for DMDL.
|
com.asakusafw.dmdl.util |
Internal common libraries for DMDL.
|
Modifier and Type | Field and Description |
---|---|
LiteralKind |
AstLiteral.kind
The kind of this literal.
|
Modifier and Type | Method and Description |
---|---|
LiteralKind |
AstLiteral.getKind()
Returns the kind of this literal.
|
static LiteralKind |
LiteralKind.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LiteralKind[] |
LiteralKind.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
AstLiteral(Region region,
String token,
LiteralKind kind)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
static AstLiteral |
AttributeUtil.takeLiteral(DmdlSemantics environment,
AstAttribute attribute,
Map<String,AstAttributeElement> elements,
String elementName,
LiteralKind literalKind,
boolean mandatory)
Removes
AstAttributeElement from elements and extracts string value from it. |
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.