public class DataAccessDataTypeInfoUtil extends Object
Constructor and Description |
---|
DataAccessDataTypeInfoUtil() |
Modifier and Type | Method and Description |
---|---|
static DataTypeInfo |
computeDataTypeInfo(com.semarchy.platform.language.semql.ParsingResult<com.semarchy.platform.language.semql.elements.IExpression> parsingResult)
Compute the
DataTypeInfo from a ParsingResult . |
static DataTypeInfo |
computeExpressionType(com.semarchy.platform.language.semql.elements.IExpression expression)
Try to compute a DataTypeInfo from an
IExpression . |
public static DataTypeInfo computeDataTypeInfo(com.semarchy.platform.language.semql.ParsingResult<com.semarchy.platform.language.semql.elements.IExpression> parsingResult)
DataTypeInfo
from a ParsingResult
. The
ParsingResult has to been obtained using a parser configured either with:
SemQLDataAccessAttrProvider
ISemQLAttrProvider
attributes that are wrapper (
SemQLAttrWrapper
) around attributes returned by a
SemQLDataAccessAttrProvider
parsingResult
- public static DataTypeInfo computeExpressionType(com.semarchy.platform.language.semql.elements.IExpression expression)
IExpression
. If the
IExpression
is a simple ISemQLAttr
you should try to get
this information from the semql attribute itself instead.expression
- Copyright © 2015. All Rights Reserved.