Examples of AstBasicType


Examples of com.asakusafw.dmdl.model.AstBasicType

    public static AstType toType(PropertyType type) {
        if (type == null) {
            throw new IllegalArgumentException("type must not be null"); //$NON-NLS-1$
        }
        BasicTypeKind kind = convert(type.getKind());
        return new AstBasicType(null, kind);
    }
View Full Code Here

Examples of com.asakusafw.dmdl.model.AstBasicType

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;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.