SyntaxChecker: make it an interface

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>