The parser component can take an expression given as a string and create the expression and node data structure used in the COM API.
Public Member Functions | |
| HRESULT | ExpressionNode ([in] IDispatch *pExpressionNode) |
| DSS Expression or DSS Node (if any) to receive parsing results. | |
| HRESULT | ExpressionNode ([out, retval] IDispatch ppExpressionNode) |
| DSS Expression or DSS Node (if any) to receive parsing results. | |
| HRESULT | Flags ([in] EnumDSSParserFlags Flags) |
| Defines additional options controlling the parser operation. | |
| HRESULT | Flags ([out, retval] EnumDSSParserFlags *pFlags) |
| Defines additional options controlling the parser operation. | |
| HRESULT | InitParsing () |
| HRESULT | Locale ([in] Int32 Locale) |
| The locale code to be used during parsing. | |
| HRESULT | Locale ([out, retval] Int32 *Locale) |
| The locale code to be used during parsing. | |
| HRESULT | LocalSymbolFolder ([in] IDSSFolder *pLocalSymFolder) |
| Set by the client to contain objects considered to have a high frequency usage and to resolve ambiguities. | |
| HRESULT | LocalSymbolFolder ([out, retval] IDSSFolder ppLocalSymFolder) |
| Set by the client to contain objects considered to have a high frequency usage and to resolve ambiguities. | |
| HRESULT | NextToken ([in] IDSSToken *pToken) |
| The next token considered during parsing. | |
| HRESULT | NextToken ([out, retval] IDSSToken ppToken) |
| The next token considered during parsing. | |
| HRESULT | Parse ([in] BSTR pExprString) |
| HRESULT | ParseTokenStream () |
| HRESULT | SearchObject ([in] IDSSSearch *pSearchObj) |
| DSS Search object used for searching objects by name during parsing. | |
| HRESULT | SearchObject ([out, retval] IDSSSearch ppSearchObj) |
| DSS Search object used for searching objects by name during parsing. | |
| HRESULT | SearchResultsFolder ([in] IDSSFolder *pSearchResFolder) |
| Contains the result of name searches, useful for resolving ambiguities. | |
| HRESULT | SearchResultsFolder ([out, retval] IDSSFolder ppSearchResFolder) |
| Contains the result of name searches, useful for resolving ambiguities. | |
| HRESULT | SourceObject ([in] IDSSSource *pSource) |
| DSS Source object used by the parser for generating new objects. | |
| HRESULT | SourceObject ([out, retval] IDSSSource ppSource) |
| DSS Source object used by the parser for generating new objects. | |
| HRESULT | TargetObject ([in] IDSSObjectInfo *pObjInfo) |
| The DSS Object, if any, that will receive the parsing result in its Expression property. | |
| HRESULT | TargetObject ([out, retval] IDSSObjectInfo ppObjInfo) |
| The DSS Object (if any) that will receive the parsing result in its Expression property. | |
| HRESULT | TargetType ([in] EnumDSSObjectType ObjType) |
| The DSS Type of the TargetObject. | |
| HRESULT | TargetType ([out, retval] EnumDSSObjectType *pObjType) |
| The DSS Type of the TargetObject. | |
| HRESULT | TokenizeObject () |
| HRESULT | TokenStream ([in] IDSSTokenStream *pTokenStream) |
| The stream of tokens carrying the parsing result. | |
| HRESULT | TokenStream ([out, retval] IDSSTokenStream ppTokenStream) |
| The stream of tokens carrying the parsing result. | |
|
|
DSS Expression or DSS Node (if any) to receive parsing results.
|
|
|
DSS Expression or DSS Node (if any) to receive parsing results.
|
|
|
Defines additional options controlling the parser operation. This property is a bit vector for specifying additional parsing options (currently not used).
|
|
|
Defines additional options controlling the parser operation. This property is a bit vector for specifying additional parsing options (currently not used).
|
|
|
|
|
|
The locale code to be used during parsing.
|
|
|
The locale code to be used during parsing.
|
|
|
Set by the client to contain objects considered to have a high frequency usage and to resolve ambiguities. This property defines a folder where the parser looks first (i.e., before doing a general search with the search object), when attempting to resolve a name into an interface to the corresponding object.
|
|
|
Set by the client to contain objects considered to have a high frequency usage and to resolve ambiguities. This property defines a folder where the parser looks first (i.e., before doing a general search with the search object), when attempting to resolve a name into an interface to the corresponding object.
|
|
|
The next token considered during parsing. In error situations, it provides, for the client, the token identified as the cause of the error. |
|
|
The next token considered during parsing. In error situations, it provides, for the client, the token identified as the cause of the error. |
|
|
|
|
|
|
|
|
DSS Search object used for searching objects by name during parsing. This property contains a reference to a DSS Search object. It is used in name resolution: finding (obtaining references to) the actual objects specified by their names in an expression. The parser "programs" the supplied search object as necessary, to resolve names in the expression string. Note please that, before, involving the search object specified by this property, the name resolution functions look for the name/object in the folder indicated by LocalSymbolFolder.
|
|
|
DSS Search object used for searching objects by name during parsing. This property contains a reference to a DSS Search object. It is used in name resolution: finding (obtaining references to) the actual objects specified by their names in an expression. The parser "programs" the supplied search object as necessary, to resolve names in the expression string. Note please that, before, involving the search object specified by this property, the name resolution functions look for the name/object in the folder indicated by LocalSymbolFolder.
|
|
|
Contains the result of name searches, useful for resolving ambiguities. This property defines a folder used by the parser to store the results of name searches. In case the name is ambiguous (i.e. there are more than one object with that name), all found objects are stored in this folder. The client may select one of these objects (usually by interacting with the end-user) to be used to continue the parsing. The selected object should be entered into the LocalSymbolFolder.
|
|
|
Contains the result of name searches, useful for resolving ambiguities. This property defines a folder used by the parser to store the results of name searches. In case the name is ambiguous (i.e. there are more than one object with that name), all found objects are stored in this folder. The client may select one of these objects (usually by interacting with the end-user) to be used to continue the parsing. The selected object should be entered into the LocalSymbolFolder.
|
|
|
DSS Source object used by the parser for generating new objects. This property contains the IDSSSource object that is used for creating folders of results (in name resolution) and for other, internal, operations.
|
|
|
DSS Source object used by the parser for generating new objects. This property contains the IDSSSource object that is used for creating folders of results (in name resolution) and for other, internal, operations.
|
|
|
The DSS Object, if any, that will receive the parsing result in its Expression property. DSS Object (if any) to receive the parsing results in its properties (e.g. in its Expression property - but also in others).. This property specifies the DSS object that receives the parsing results - i.e. the DSS objects constructs generated by the parser. The destination for most of the parsing result is, usually, the Expression property of the (Metric, Filter etc.) object. However, there may be other properties, on the same object, filled in as a result of parsing: for example, the Dimensionality property of a Metric (including its collection of dimensionality units).
|
|
|
The DSS Object (if any) that will receive the parsing result in its Expression property. DSS Object (if any) to receive the parsing results in its properties (e.g. in its Expression property - but also in others).. This property specifies the DSS object that receives the parsing results - i.e. the DSS objects constructs generated by the parser. The destination for most of the parsing result is, usually, the Expression property of the (Metric, Filter etc.) object. However, there may be other properties, on the same object, filled in as a result of parsing: for example, the Dimensionality property of a Metric (including its collection of dimensionality units).
|
|
|
The DSS Type of the TargetObject.
|
|
|
The DSS Type of the TargetObject.
|
|
|
|
|
|
The stream of tokens carrying the parsing result. It is also used as input in re-parsing. |
|
|
The stream of tokens carrying the parsing result. It is also used as input in re-parsing. |