Beispiel #1
0
		private SdlParser(SdlLexer lex)
		{
			Lexer = lex;
		}
Beispiel #2
0
 private SdlParser(SdlLexer lex)
 {
     Lexer = lex;
 }
Beispiel #3
0
		bool Expect(SdlLexer.Tokens kind)
		{
			var tk = Current;
			if (tk.Kind != kind)
			{
				ParseErrors.Add(new Error(tk.Line, tk.Column, kind.ToString() + " expected, " + tk.Kind.ToString() + " found"));
				return false;
			}
			return true;
		}