Exemplo n.º 1
0
        private ControlInnerElementsReader CreateReader(string input)
        {
            var tokenizer = new AspxTokenizer();
            var tokens    = tokenizer.Tokenize(input).ToList();

            return(new ControlInnerElementsReader(tokens, 0));
        }
Exemplo n.º 2
0
        private void TokenizeAndGetSuggestions(string markup)
        {
            var generator      = new DisplayHtmlGenerator();
            var matcherService = new MatcherService();

            var tokenizer = new AspxTokenizer();

            Tokens         = tokenizer.Tokenize(markup).ToList();
            suggestionsMap = matcherService.GetSuggestions(Tokens);

            (DisplayHtml, Suggestions) = generator.GenerateDisplayHtml(Tokens, suggestionsMap);
        }
Exemplo n.º 3
0
 private void Tokenize(string input)
 {
     tokens = tokenizer.Tokenize(input).ToList();
 }