tlang/source/tlang/compiler/parsing/exceptions.d

21 lines
354 B
D
Raw Normal View History

2021-06-08 09:37:38 +01:00
module compiler.parsing.exceptions;
public class ParserException : TError
{
this()
{
}
}
2021-06-08 09:37:43 +01:00
public final class SyntaxError : ParserException
{
private SymbolType expected;
private SymbolType provided;
this(SymbolType expected, SymbolType provided)
{
this.expected = expected;
this.provided = provided;
}
}