Package | Description |
---|---|
com.asakusafw.operator.description |
Description classes.
|
com.asakusafw.operator.model |
Internal representation of Asakusa operators and data models.
|
com.asakusafw.operator.util |
Common utilities for Asakusa Operator DSL compiler.
|
Modifier and Type | Class and Description |
---|---|
class |
AnnotationDescription
Represents an annotation.
|
class |
ArrayDescription
Represents an array of values.
|
class |
ArrayTypeDescription
Represents an array type.
|
class |
BasicTypeDescription
Represents primitive types and void type.
|
class |
ClassDescription
Represents a class.
|
class |
EnumConstantDescription
Represents an enum constant.
|
class |
ImmediateDescription
Represents an immediate value.
|
class |
ObjectDescription
Represents an object.
|
class |
ReifiableTypeDescription
Represents a reifiable type (can be represented in
Class ). |
class |
UnknownValueDescription
Represents an unknown object.
|
Modifier and Type | Method and Description |
---|---|
static ValueDescription |
Descriptions.valueOf(Object value)
Converts an object into related
ValueDescription . |
Modifier and Type | Method and Description |
---|---|
List<ValueDescription> |
ObjectDescription.getArguments()
Returns the arguments.
|
Map<String,ValueDescription> |
AnnotationDescription.getElements()
Returns the annotation elements.
|
List<ValueDescription> |
ArrayDescription.getElements()
Returns the array elements.
|
Modifier and Type | Method and Description |
---|---|
static ArrayDescription |
ArrayDescription.elementsOf(ReifiableTypeDescription elementType,
ValueDescription... elements)
Creates a new instance.
|
static ObjectDescription |
ObjectDescription.of(ClassDescription objectType,
String methodName,
ValueDescription... arguments)
Creates a new instance.
|
static ObjectDescription |
ObjectDescription.of(ClassDescription objectType,
ValueDescription... arguments)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
static ArrayDescription |
ArrayDescription.elementsOf(ReifiableTypeDescription elementType,
List<? extends ValueDescription> elements)
Creates a new instance.
|
static ObjectDescription |
ObjectDescription.of(ClassDescription objectType,
List<? extends ValueDescription> arguments)
Creates a new instance.
|
static ObjectDescription |
ObjectDescription.of(ClassDescription objectType,
String methodName,
List<? extends ValueDescription> arguments)
Creates a new instance.
|
Constructor and Description |
---|
AnnotationDescription(ClassDescription declaringClass,
ValueDescription value)
Creates a new instance for single element annotation.
|
Constructor and Description |
---|
AnnotationDescription(ClassDescription declaringClass,
Map<String,? extends ValueDescription> elements)
Creates a new instance.
|
ArrayDescription(ArrayTypeDescription arrayType,
List<? extends ValueDescription> elements)
Creates a new instance.
|
ObjectDescription(ClassDescription objectType,
String methodName,
List<? extends ValueDescription> arguments)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
List<ValueDescription> |
AttributeContainer.getAttributes()
Returns the attributes.
|
List<ValueDescription> |
OperatorDescription.getAttributes() |
List<ValueDescription> |
OperatorDescription.Node.getAttributes() |
Modifier and Type | Method and Description |
---|---|
OperatorDescription.Node |
OperatorDescription.Node.withAttribute(ValueDescription attribute)
Adds an attribute.
|
Constructor and Description |
---|
OperatorDescription(OperatorDescription.Document document,
List<? extends OperatorDescription.Node> parameters,
List<? extends OperatorDescription.Node> outputs,
List<? extends ValueDescription> attributes)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
static Expression |
DescriptionHelper.resolveConstant(ImportBuilder importer,
ValueDescription constant)
Returns the resolved constant value.
|
static Expression |
DescriptionHelper.resolveValue(ImportBuilder importer,
ValueDescription value)
Returns the resolved value.
|
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.