Package com.intellij.lang.javascript.psi

Examples of com.intellij.lang.javascript.psi.JSArrayLiteralExpression


    });
  }

  private static boolean isFileStringLiteral(@NotNull JSLiteralExpression literalExpression) {
    if (literalExpression.isQuotedLiteral()) {
      JSArrayLiteralExpression arrayLiteralExpression = ObjectUtils.tryCast(literalExpression.getParent(), JSArrayLiteralExpression.class);
      if (arrayLiteralExpression != null) {
        JSProperty property = ObjectUtils.tryCast(arrayLiteralExpression.getParent(), JSProperty.class);
        if (property != null) {
          String name = JsPsiUtils.getPropertyName(property);
          return FILES_VAR_NAME.equals(name);
        }
      }
View Full Code Here

TOP

Related Classes of com.intellij.lang.javascript.psi.JSArrayLiteralExpression

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.