Constructor and Description |
---|
ReduceTerm(T term,
ModelSymbol source,
List<MappingFactor> mappings,
List<PropertySymbol> grouping)
Creates and returns a new instance.
|
Modifier and Type | Method and Description |
---|---|
List<PropertySymbol> |
getGrouping()
Returns symbols of grouping properties.
|
List<MappingFactor> |
getMappings()
Returns mapping/folding factors in this term.
|
T |
getOriginalAst()
Returns the corresponded syntactic element of this.
|
ModelSymbol |
getSource()
Returns a symbol of source model.
|
public ReduceTerm(T term, ModelSymbol source, List<MappingFactor> mappings, List<PropertySymbol> grouping)
term
- the original ASTsource
- the join sourcemappings
- mapping/folding factorsgrouping
- the grouping propertiesIllegalArgumentException
- if some parameters were null
public T getOriginalAst()
Element
getOriginalAst
in interface Element
null
if unknownpublic ModelSymbol getSource()
public List<MappingFactor> getMappings()
public List<PropertySymbol> getGrouping()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.