Package com.intellij.lang.ognl

Examples of com.intellij.lang.ognl.OgnlFile


  }

  private static PsiElement doParse(@Language(value = OgnlLanguage.ID,
                                              prefix = OgnlLanguage.EXPRESSION_PREFIX,
                                              suffix = OgnlLanguage.EXPRESSION_SUFFIX) final String text) {
    final OgnlFile ognlFile = createFile(OgnlTestUtils.createExpression(text));
    assertNotNull(ognlFile);

    final PsiElement firstChild = ognlFile.getFirstChild();
    assertNotNull(firstChild);
    assertEquals(OgnlLanguage.INSTANCE, firstChild.getLanguage());

    final PsiElement expression = firstChild.getNextSibling();
    assertNotNull(expression);
View Full Code Here

TOP

Related Classes of com.intellij.lang.ognl.OgnlFile

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.