Package com.asakusafw.dmdl.model

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


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

Related Classes of com.asakusafw.dmdl.model.AstBasicType

Copyright © 2018 www.massapicom. 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.