Click or drag to resize
MacroExpressionParseExpression Method
Returns the root of parsed expression. Uses cache of the parsed expressions to speedup the process.

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 9.0.0
Syntax
C#
public static MacroExpression ParseExpression(
	string expression,
	bool supressError = false
)

Parameters

expression
Type: SystemString
Expression string to parse
supressError (Optional)
Type: SystemBoolean
If true no exceptions are thrown

Return Value

Type: MacroExpression
Exceptions
ExceptionCondition
SyntacticAnalysisExceptionSyntax error if supressError is false
LexicalAnalysisExceptionLexical analysis error if supressError is false
See Also