C# Класс BalticAmadeus.FluentMdx.MdxParser

Represents a machine that performs syntactical analysis.
Наследование: IMdxParser
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

MdxParser() публичный Метод

Initializes a new instance of MdxParser with default lexical analysis machine.
public MdxParser ( ) : System
Результат System

ParseMember() публичный Метод

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.
Результат MdxMember

ParseQuery() публичный Метод

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.
Результат MdxQuery