Package com._1c.g5.v8.dt.ql.typesystem
Class IExpressionTypeChecker.CheckResult
- java.lang.Object
-
- com._1c.g5.v8.dt.ql.typesystem.IExpressionTypeChecker.CheckResult
-
- Enclosing interface:
- IExpressionTypeChecker
public static final class IExpressionTypeChecker.CheckResult extends Object
Result of validation and computing of expression type
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IExpressionTypeChecker.CheckResult.ValidationInf
Class contains validation information of expressions in Ql language
-
Field Summary
Fields Modifier and Type Field Description TypeDescriptionSource
expressionTypeResult
boolean
isValid
-
Constructor Summary
Constructors Constructor Description CheckResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addValidationInf(IExpressionTypeChecker.CheckResult.ValidationInf val)
Adds new validation informationList<IExpressionTypeChecker.CheckResult.ValidationInf>
getValidationInf()
Gets all validation informationsboolean
isNeedValidation()
Checks for need validation expression while type of the expression computedvoid
setNeedValidation(boolean need)
Sets flag for need validation expression while type of the expression computedvoid
unionCheckResult(IExpressionTypeChecker.CheckResult res)
Unions ofIExpressionTypeChecker.CheckResult
-
-
-
Field Detail
-
isValid
public boolean isValid
-
expressionTypeResult
public TypeDescriptionSource expressionTypeResult
-
-
Method Detail
-
addValidationInf
public void addValidationInf(IExpressionTypeChecker.CheckResult.ValidationInf val)
Adds new validation information- Parameters:
val
- new validation information, can't benull
-
getValidationInf
public List<IExpressionTypeChecker.CheckResult.ValidationInf> getValidationInf()
Gets all validation informations- Returns:
- list of
IExpressionTypeChecker.CheckResult.ValidationInf
, nevernull
-
unionCheckResult
public void unionCheckResult(IExpressionTypeChecker.CheckResult res)
Unions ofIExpressionTypeChecker.CheckResult
- Parameters:
res
- one of the resultsIExpressionTypeChecker.CheckResult
, can't benull
-
setNeedValidation
public void setNeedValidation(boolean need)
Sets flag for need validation expression while type of the expression computed- Parameters:
need
-true
if validation is needed,false
otherwise
-
isNeedValidation
public boolean isNeedValidation()
Checks for need validation expression while type of the expression computed- Returns:
true
if validation is needed,false
otherwise
-
-