private SelectorExpressionOuterFn Expression(string path, SelectorExpression expression) { path = Path(path, expression); if (expression is SelectorOperator selectorOperator) { return(Debugger(Operator(path, selectorOperator), path)); } else if (expression is SelectorCondition selectorCondition) { return(Debugger(Condition(path, selectorCondition), path)); } throw new InvalidOperationException(); }
public void Add(SelectorExpression item) { Children.Add(item); }
public SelectorIf(SelectorExpression expression) : base(null) { Expression = expression; }
private static string Path(string path, SelectorExpression expression) { path = string.Concat(path, Dot, expression.Descriptor.Name); return(path); }