Package org.eclipse.dltk.ast.expressions

Examples of org.eclipse.dltk.ast.expressions.StringLiteral


            return false;


        if (st instanceof StringLiteral) {

            StringLiteral literal = (StringLiteral) st;
            String literalValue = literal.getValue().replaceAll("['\"]", "");

            if (PathUtils.isViewPath(literalValue)) {
                //TODO: report viewpath reference
            }

            IPath path = getSourceModule().getModelElement().getScriptProject().getPath();
            Service service = model.findService(literalValue, path);

            if (service != null) {
                fRequestor.acceptTypeReference(service.getFullyQualifiedName(), literal.sourceStart());
            }
        }

        return true;
    }
View Full Code Here

TOP

Related Classes of org.eclipse.dltk.ast.expressions.StringLiteral

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.