Package ceylon.language.meta.declaration

Examples of ceylon.language.meta.declaration.Declaration


   
    public Declaration ref(String ref) {
        i = 0;
        this.ref = ref;
        String version = version();
        Declaration module = module(version);
        return module;
    }
View Full Code Here


    private String packageName() {
        return dottedIdent();
    }
   
    private Declaration declaration(Declaration packageOrType) {
        Declaration result = type(packageOrType);
        if (result == null) {
            result = function(packageOrType);
        }
        if (result == null) {
            result = value(packageOrType);
View Full Code Here

   
    private Declaration function(Declaration packageOrType) {
        if (!at('F')) {
            return null;
        }
        Declaration result;
        String fn = ident();
        if (fn != null) {
            result = makeFunction(packageOrType, fn);
            if (at('.')) {
                result = typeParameter(result);
View Full Code Here

            throw unexpectedToken();
        }
    }

    private Declaration type(Declaration packageOrType) {
        Declaration result = class_(packageOrType);
        if (result == null) {
            result = interface_(packageOrType);
        }
        if (result == null) {
            result = alias(packageOrType);
View Full Code Here

        }
        return result;
    }
   
    private Declaration tpOrMember(Declaration type) {
        Declaration result = typeParameter(type);
        if (result == null) {
            result = declaration(type);
        }
        return result;
    }
View Full Code Here

TOP

Related Classes of ceylon.language.meta.declaration.Declaration

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.