Package | Description |
---|---|
com.asakusafw.dmdl.java.emitter |
Java source code emitters.
|
com.asakusafw.dmdl.semantics |
Semantic intermediate representations of DMDL.
|
com.asakusafw.dmdl.semantics.trait |
Core traits for intermediate representations of DMDL.
|
Modifier and Type | Method and Description |
---|---|
QualifiedName |
EmitContext.getQualifiedTypeName(ModelSymbol model)
Returns the simple name of the target data model class.
|
SimpleName |
EmitContext.getTypeName(ModelSymbol model)
Returns the simple name of the target data model class.
|
Type |
EmitContext.resolve(ModelSymbol model)
Resolves the model symbol to the corresponded Java DOM type symbol.
|
Modifier and Type | Method and Description |
---|---|
ModelSymbol |
DmdlSemantics.createModelSymbol(AstSimpleName modelName)
Creates and returns a new model symbol in this world.
|
ModelSymbol |
PropertySymbol.getOwner()
Returns owner of this property.
|
ModelSymbol |
PropertyReferenceDeclaration.getOwner() |
ModelSymbol |
PropertyDeclaration.getOwner() |
ModelSymbol |
MemberDeclaration.getOwner()
Returns owner of this member.
|
ModelSymbol |
ModelDeclaration.getSymbol()
Returns the symbol refer to this declaration.
|
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.
|
PropertySymbol(ModelSymbol owner,
AstSimpleName name)
Creates and returns a new instance.
|
Modifier and Type | Method and Description |
---|---|
ModelSymbol |
ReduceTerm.getSource()
Returns a symbol of source model.
|
Modifier and Type | Method and Description |
---|---|
List<ModelSymbol> |
ProjectionsTrait.getProjections()
Returns owned projective models.
|
List<ModelSymbol> |
ReferencesTrait.getReferences()
Returns referred models.
|
Constructor and Description |
---|
ReduceTerm(T term,
ModelSymbol source,
List<MappingFactor> mappings,
List<PropertySymbol> grouping)
Creates and returns a new instance.
|
Constructor and Description |
---|
ProjectionsTrait(AstNode originalAst,
List<ModelSymbol> projections)
Creates and returns a new instance.
|
ReferencesTrait(AstNode originalAst,
List<ModelSymbol> references)
Creates and returns a new instance.
|
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.