C# Class BalticAmadeus.FluentMdx.MdxParser

Represents a machine that performs syntactical analysis.
Inheritance: IMdxParser
Afficher le fichier Open project: BalticAmadeus/FluentMdx

Méthodes publiques

Méthode Description
MdxParser ( ) : System

Initializes a new instance of MdxParser with default lexical analysis machine.

ParseMember ( string source ) : MdxMember

Performs syntactic analysis on text and if suceeds, returns constructed MdxMember as a result.

ParseQuery ( string source ) : MdxQuery

Performs lexical and syntactical analyses over specified query string and returns the parsed components combined into MdxQuery.

Private Methods

Méthode Description
IsNextTokenValid ( IStatedTwoWayEnumerator enumerator, TokenType expectedTokenType ) : bool
TryParseAxis ( IStatedTwoWayEnumerator enumerator, MdxExpressionBase &expression ) : bool

Performs axis syntactical analysis over collection of Token objects using IStatedTwoWayEnumerator{T}.

TryParseConstantValue ( IStatedTwoWayEnumerator enumerator, MdxExpressionBase &expression ) : bool

Performs constant value syntactical analysis over collection of Token objects using IStatedTwoWayEnumerator{T}.

TryParseCube ( IStatedTwoWayEnumerator enumerator, MdxExpressionBase &expression ) : bool

Performs cube syntactical analysis over collection of Token objects using IStatedTwoWayEnumerator{T}.

TryParseExpression ( IStatedTwoWayEnumerator enumerator, MdxExpressionBase &expression ) : bool

Performs expression syntactical analysis over collection of Token objects using IStatedTwoWayEnumerator{T}.

TryParseFunction ( IStatedTwoWayEnumerator enumerator, MdxExpressionBase &expression ) : bool

Performs function syntactical analysis over collection of Token objects using IStatedTwoWayEnumerator{T}.

TryParseMember ( IStatedTwoWayEnumerator enumerator, MdxExpressionBase &expression ) : bool

Performs member syntactical analysis over collection of Token objects using IStatedTwoWayEnumerator{T}.

TryParseNavigationFunction ( IStatedTwoWayEnumerator enumerator, MdxExpressionBase &expression ) : bool

Performs navigation function syntactical analysis over collection of Token objects using IStatedTwoWayEnumerator{T}.

TryParseQuery ( IStatedTwoWayEnumerator enumerator, MdxExpressionBase &expression ) : bool

Performs query syntactical analysis over collection of Token objects using IStatedTwoWayEnumerator{T}.

TryParseRange ( IStatedTwoWayEnumerator enumerator, MdxExpressionBase &expression ) : bool

Performs range syntactical analysis over collection of Token objects using IStatedTwoWayEnumerator{T}.

TryParseSet ( IStatedTwoWayEnumerator enumerator, MdxExpressionBase &expression ) : bool

Performs set syntactical analysis over collection of Token objects using IStatedTwoWayEnumerator{T}.

TryParseTuple ( IStatedTwoWayEnumerator enumerator, MdxExpressionBase &expression ) : bool

Performs tuple syntactical analysis over collection of Token objects using IStatedTwoWayEnumerator{T}.

TryParseWithDeclaration ( IStatedTwoWayEnumerator enumerator, MdxExpressionBase &expression ) : bool

Method Details

MdxParser() public méthode

Initializes a new instance of MdxParser with default lexical analysis machine.
public MdxParser ( ) : System
Résultat System

ParseMember() public méthode

Performs syntactic analysis on text and if suceeds, returns constructed MdxMember as a result.
public ParseMember ( string source ) : MdxMember
source string String containing Mdx Member text representation.
Résultat MdxMember

ParseQuery() public méthode

Performs lexical and syntactical analyses over specified query string and returns the parsed components combined into MdxQuery.
public ParseQuery ( string source ) : MdxQuery
source string Mdx query string.
Résultat MdxQuery