Example #1
0
        private static IList <string> getTokens(string line)
        {
            IList <string> tokens = CCommandTokenizer.Tokenize(line, CCommandTokenizer.OPTION_IGNORE_MISSING_QUOTES);

            if (tokens.Count > 0 && line.EndsWith(" "))
            {
                tokens.Add(""); // treat last space as "empty" token
            }
            return(tokens);
        }
Example #2
0
 private static IList <string> Tokenize(string str)
 {
     return(CCommandTokenizer.Tokenize(str));
 }