Package mondrian.parser
Class JavaccParserValidatorImpl
java.lang.Object
mondrian.parser.JavaccParserValidatorImpl
- All Implemented Interfaces:
MdxParserValidator
Default implementation of
MdxParserValidator
, using the
JavaCC parser generator.- Author:
- jhyde
-
Nested Class Summary
Nested classes/interfaces inherited from interface mondrian.parser.MdxParserValidator
MdxParserValidator.QueryPartFactory
-
Constructor Summary
ConstructorDescriptionCreates a JavaccParserValidatorImpl.Creates a JavaccParserValidatorImpl with an explicit factory for parse tree nodes. -
Method Summary
-
Constructor Details
-
JavaccParserValidatorImpl
public JavaccParserValidatorImpl()Creates a JavaccParserValidatorImpl. -
JavaccParserValidatorImpl
Creates a JavaccParserValidatorImpl with an explicit factory for parse tree nodes.- Parameters:
factory
- Factory for parse tree nodes
-
-
Method Details
-
parseInternal
public QueryPart parseInternal(Statement statement, String queryString, boolean debug, FunTable funTable, boolean strictValidation) Description copied from interface:MdxParserValidator
Parses a string to create aQuery
. Called only byConnectionBase.parseQuery(java.lang.String)
.- Specified by:
parseInternal
in interfaceMdxParserValidator
-
parseExpression
public Exp parseExpression(Statement statement, String queryString, boolean debug, FunTable funTable) - Specified by:
parseExpression
in interfaceMdxParserValidator
-