InterpretLine() private method

private InterpretLine ( string line ) : IList
line string
return IList
Beispiel #1
0
 public void ItFigouresOutGroupStartOrEnd(int spacesBefore,string line, IEnumerable<Token> expected)
 {
     var lexer = new Lexer(line.ToStream());
     lexer.InterpretLine(string.Empty.PadRight(spacesBefore));
     var tokens = lexer.InterpretLine(line).ToArray();
     AssertTokenStreamEquals(expected.ToArray(), tokens);
 }