public class BasicTypeDriver extends TypeDriver {
@Override
public BasicType resolve(DmdlSemantics world, AstType syntax) {
if (syntax instanceof AstBasicType) {
AstBasicType ast = (AstBasicType) syntax;
return new BasicType(ast, ast.kind);
}
return null;
}