Package | Description |
---|---|
com.asakusafw.dmdl.analyzer |
Sematic analyzer for DMDL.
|
com.asakusafw.dmdl.semantics |
Semantic intermediate representations of DMDL.
|
com.asakusafw.dmdl.semantics.type |
Core types for intermediate representations of DMDL.
|
com.asakusafw.dmdl.spi |
Extension points for DMDL semantic analyzers.
|
com.asakusafw.dmdl.util |
Internal common libraries for DMDL.
|
Modifier and Type | Method and Description |
---|---|
Type |
Context.resolveType(AstType type)
Returns the corresponded type of the type syntax.
|
Modifier and Type | Method and Description |
---|---|
Type |
PropertyReferenceDeclaration.getType()
Returns the type of each referent property.
|
Type |
PropertyDeclaration.getType()
Returns the type of this property.
|
Type |
Type.map(PropertyMappingKind mapping)
Returns the mapped result type.
|
Modifier and Type | Method and Description |
---|---|
PropertyDeclaration |
ModelDeclaration.declareProperty(AstNode propertyOriginalAst,
AstSimpleName propertyName,
Type propertyType,
AstDescription propertyDescription,
List<? extends AstAttribute> propertyAttributes)
Declares a new property into this model.
|
PropertyReferenceDeclaration |
ModelDeclaration.declarePropertyReference(AstNode memberOriginalAst,
AstSimpleName memberName,
Type referentType,
PropertyReferenceDeclaration.ReferenceContainer<?> references,
AstDescription memberDescription,
List<? extends AstAttribute> memberAttributes)
Declares a new property reference into this model.
|
boolean |
Type.isSame(Type other)
Compare to other type, and returns
true iff both type are same. |
Constructor and Description |
---|
PropertyDeclaration(ModelSymbol owner,
AstNode originalAst,
AstSimpleName name,
Type type,
AstDescription description,
List<? extends AstAttribute> attributes)
Creates and returns a new instance.
|
PropertyReferenceDeclaration(AstNode originalAst,
ModelSymbol owner,
AstSimpleName name,
Type referentType,
PropertyReferenceDeclaration.ReferenceContainer<?> reference,
AstDescription description,
List<? extends AstAttribute> attributes)
Creates a new instance.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicType
Basic type of properties.
|
class |
CollectionType
Collection type of properties.
|
Modifier and Type | Method and Description |
---|---|
Type |
CollectionType.getElementType()
Returns the element type.
|
Type |
BasicType.map(PropertyMappingKind mapping) |
Type |
CollectionType.map(PropertyMappingKind mapping) |
Modifier and Type | Method and Description |
---|---|
boolean |
BasicType.isSame(Type other) |
boolean |
CollectionType.isSame(Type o) |
Constructor and Description |
---|
CollectionType(AstCollectionType originalAst,
CollectionType.CollectionKind kind,
Type elementType)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Type |
TypeDriver.Context.resolve(AstType node)
Resolves element type.
|
Type |
TypeDriver.resolve(TypeDriver.Context context,
AstType syntax)
Processes and modifies the attributed declaration.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
DeclarationUtil.isType(Type type,
BasicTypeKind kind)
Returns whether the type has the specified kind or not.
|
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.