Examples of IFileElementType


Examples of com.intellij.psi.tree.IFileElementType

            this.underlyingObject = sourceCodeFile.getObject().getRef();
        }

        parseRootId = CompatibilityUtil.getParseRootId(virtualFile);

        IFileElementType nodeType = parserDefinition.getFileNodeType();
        //assert nodeType.getLanguage() == this.language;
        init(nodeType, nodeType);
    }
View Full Code Here

Examples of com.intellij.psi.tree.IFileElementType

  private final LivePreviewLanguage myLanguage;
  private final IFileElementType myFileElementType;

  public LivePreviewParserDefinition(LivePreviewLanguage language) {
    myLanguage = language;
    myFileElementType = new IFileElementType(myLanguage); // todo do not register
  }
View Full Code Here

Examples of com.intellij.psi.tree.IFileElementType

    final ParserDefinition parserDefinition = language.getParserDefinition();
    if (parserDefinition == null) {
      throw new RuntimeException("PsiFileBase: language.getParserDefinition() returned null.");
    }
    myParserDefinition = parserDefinition;
    final IFileElementType nodeType = parserDefinition.getFileNodeType();
    init(nodeType, nodeType);
  }
View Full Code Here

Examples of com.intellij.psi.tree.IFileElementType

    final ParserDefinition parserDefinition = language.getParserDefinition();
    if (parserDefinition == null) {
      throw new RuntimeException("PsiFileBase: language.getParserDefinition() returned null.");
    }
    myParserDefinition = parserDefinition;
    final IFileElementType nodeType = parserDefinition.getFileNodeType();
    init(nodeType, nodeType);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.