public class ConstraintAst extends Object
Constructor and Description |
---|
ConstraintAst(QIDAst constraintTypeAst,
List<ParameterAst> parameters,
TypeMapping freeTypeMapping)
Creates a constraint instance.
|
Modifier and Type | Method and Description |
---|---|
QID |
getConstraintType()
Returns the constraint type qualified name (may be simple or full).
|
QIDAst |
getConstraintTypeAst() |
ParameterAst |
getParameter(int index) |
int |
getParameterCount() |
Expression |
getParameterExpression(int index) |
IdentifierAst |
getParameterName(int index) |
List<ParameterAst> |
getParameters()
Returns the unmodifiable list of parameters.
|
TypeMapping |
getTypeMapping() |
public ConstraintAst(QIDAst constraintTypeAst, List<ParameterAst> parameters, TypeMapping freeTypeMapping)
constraintTypeAst
- parameters
- freeTypeMapping
- public QIDAst getConstraintTypeAst()
public QID getConstraintType()
public List<ParameterAst> getParameters()
public int getParameterCount()
public ParameterAst getParameter(int index)
index
- public IdentifierAst getParameterName(int index)
index
- public Expression getParameterExpression(int index)
index
- public TypeMapping getTypeMapping()
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.