public ExprEmptyRenderer(string name, ExprRenderType renderType, ExprType type, Parser.ExprMatchResult exprMatchResult, ExprMatchTree exprMatchTree) : base(exprMatchResult, exprMatchTree) { _name = name; _renderType = renderType; _type = type; }
public static void RegisterEmptyRendere(ExprType type, ExprRenderType renderType, string exprRegex, string name) { string finalRegex = BuildRegex(type, exprRegex); if (finalRegex != null) _emptyExprRenderers[new Regex(finalRegex, RegexOptions.Compiled | RegexOptions.ExplicitCapture)] = new object[] { name, renderType, type }; }