public IEnumerable <Expression> ConvertTokensToExpressions(IEnumerable <object> tokens) { tokens = StaticConverter.Convert(tokens); tokens = CommentRemover.Remove(tokens); tokens = LiteralConverter.Convert(tokens); tokens = HelperConverter.Convert(tokens, _configuration); tokens = PathConverter.Convert(tokens); tokens = PartialConverter.Convert(tokens); tokens = HelperArgumentAccumulator.Accumulate(tokens); tokens = ExpressionScopeConverter.Convert(tokens); tokens = BlockAccumulator.Accumulate(tokens, _configuration); return(tokens.Cast <Expression>()); }
public IEnumerable <Expression> ConvertTokensToExpressions(IEnumerable <object> tokens) { tokens = HelperConverter.Convert(tokens, _configuration); tokens = RawHelperAccumulator.Accumulate(tokens); tokens = CommentAndLayoutConverter.Convert(tokens); tokens = LiteralConverter.Convert(tokens); tokens = HashParameterConverter.Convert(tokens); tokens = PathConverter.Convert(tokens); tokens = BlockParamsConverter.Convert(tokens); tokens = SubExpressionConverter.Convert(tokens); tokens = HashParametersAccumulator.Accumulate(tokens); tokens = PartialConverter.Convert(tokens); tokens = HelperArgumentAccumulator.Accumulate(tokens); tokens = ExpressionScopeConverter.Convert(tokens); tokens = WhitespaceRemover.Remove(tokens); tokens = StaticConverter.Convert(tokens); tokens = BlockAccumulator.Accumulate(tokens, _configuration); return(tokens.Cast <Expression>()); }