Package | Description |
---|---|
com.asakusafw.dmdl.analyzer |
Sematic analyzer for DMDL.
|
com.asakusafw.dmdl.java.analyzer |
Enhances analyzer for Java source generation.
|
com.asakusafw.dmdl.model |
Syntactic models for DMDL.
|
com.asakusafw.dmdl.semantics |
Semantic intermediate representations of DMDL.
|
Modifier and Type | Method and Description |
---|---|
void |
DmdlAnalyzer.addModel(AstModelDefinition<?> definition)
Adds a model definition to this analyzer.
|
default void |
DmdlAnalyzerEnhancer.validateSyntax(DmdlSemantics root,
AstModelDefinition<?> definition)
Validates the syntax of definitions.
|
Modifier and Type | Method and Description |
---|---|
void |
JavaDataModelAnalyzerEnhancer.validateSyntax(DmdlSemantics root,
AstModelDefinition<?> definition) |
Modifier and Type | Field and Description |
---|---|
List<AstModelDefinition<?>> |
AstScript.models
The model definition statements.
|
Modifier and Type | Method and Description |
---|---|
AstModelDefinition<AstJoin> |
AstModelDefinition.asJoined()
Safely casts this definition as a joined model definition.
|
AstModelDefinition<AstRecord> |
AstModelDefinition.asProjective()
Safely casts this definition as a projective model definition.
|
AstModelDefinition<AstRecord> |
AstModelDefinition.asRecord()
Safely casts this definition as a record model definition.
|
AstModelDefinition<AstSummarize> |
AstModelDefinition.asSummarized()
Safely casts this definition as a summarized model definition.
|
Modifier and Type | Method and Description |
---|---|
<T extends AstTerm<T>> |
AstNode.Visitor.visitModelDefinition(C context,
AstModelDefinition<T> node)
Called back from
AstModelDefinition . |
<T extends AstTerm<T>> |
AstNode.AbstractVisitor.visitModelDefinition(C context,
AstModelDefinition<T> node) |
Constructor and Description |
---|
AstScript(Region region,
List<? extends AstModelDefinition<?>> models)
Creates and returns a new instance.
|
Modifier and Type | Method and Description |
---|---|
AstModelDefinition<?> |
ModelDeclaration.getOriginalAst() |
Modifier and Type | Method and Description |
---|---|
ModelDeclaration |
DmdlSemantics.declareModel(AstModelDefinition<?> modelOriginalAst,
AstSimpleName modelName,
AstDescription modelDescription,
List<? extends AstAttribute> modelAttributes)
Declares a new property into this model.
|
Constructor and Description |
---|
ModelDeclaration(DmdlSemantics owner,
AstModelDefinition<?> originalAst,
AstSimpleName name,
AstDescription description,
List<? extends AstAttribute> attributes)
Creates and returns a new instance.
|
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.