Class Tokens
Represents the tokens that are split while parsing the MDX query.
Inheritance
System.Object
Tokens
Implements
System.IDisposable
Namespace: Syncfusion.Olap.UWP.MDXQueryParser
Assembly: Syncfusion.Olap.UWP.dll
Syntax
public class Tokens : Object, IDisposable
Constructors
Tokens(String)
Initializes a new instance of the Tokens class.
Declaration
public Tokens(string MDXquery)
Parameters
Type | Name | Description |
---|---|---|
System.String | MDXquery | The MDX query. |
Fields
EndReader
Gets or sets a value that indicates whether the character is to end.
Declaration
public bool EndReader
Field Value
Type | Description |
---|---|
System.Boolean | Indicates whether the character is to end. |
Find
Gets or sets the character to find.
Declaration
public char Find
Field Value
Type | Description |
---|---|
System.Char | The character to find. |
Properties
curToken
Gets or sets the current token.
Declaration
public string curToken { get; set; }
Property Value
Type | Description |
---|---|
System.String | The current token. |
Methods
CheckToken(String)
Checks the current token with the specified keyword.
Declaration
public void CheckToken(string keyword)
Parameters
Type | Name | Description |
---|---|---|
System.String | keyword | The keyword to be checked. |
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
SplitChar()
Splits the MDX query by character.
Declaration
public void SplitChar()
SplitToken()
Adds the split character and form a token.
Declaration
public void SplitToken()
Implements
System.IDisposable