Package com.jetbrains.php.lang.psi.elements.impl

Examples of com.jetbrains.php.lang.psi.elements.impl.StringLiteralExpressionImpl


     * @throws IncorrectOperationException
     */
    @Override
    public PsiElement handleElementRename(String newElementName) throws IncorrectOperationException {
        ASTNode node = templateString.getNode();
        StringLiteralExpressionImpl se = new StringLiteralExpressionImpl(node);

        String[] parts = templateString.getText().split(":");
        StringBuilder sb = new StringBuilder(parts[0]).append(":").append(parts[1]).append(":");
        sb.append(newElementName);
        se.updateText(sb.toString());
        this.templateString = se;
        return templateString;
    }
View Full Code Here

TOP

Related Classes of com.jetbrains.php.lang.psi.elements.impl.StringLiteralExpressionImpl

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.