Java Code Examples for com.intellij.psi.PsiElementVisitor#visitFile()
The following examples show how to use
com.intellij.psi.PsiElementVisitor#visitFile() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: BashFileImpl.java From BashSupport with Apache License 2.0 | 5 votes |
@Override public void accept(@NotNull PsiElementVisitor visitor) { if (visitor instanceof BashVisitor) { ((BashVisitor) visitor).visitFile(this); } else { visitor.visitFile(this); } }
Example 2
Source File: CSharpFragmentFileImpl.java From consulo-csharp with Apache License 2.0 | 4 votes |
@Override public void accept(@Nonnull PsiElementVisitor psiElementVisitor) { psiElementVisitor.visitFile(this); }
Example 3
Source File: PsiFileBase.java From consulo with Apache License 2.0 | 4 votes |
@Override public void accept(@Nonnull PsiElementVisitor visitor) { visitor.visitFile(this); }
Example 4
Source File: LightPsiFileBase.java From consulo with Apache License 2.0 | 4 votes |
@Override public void accept(@Nonnull PsiElementVisitor visitor) { visitor.visitFile(this); }
Example 5
Source File: CppParserDefinition.java From CppTools with Apache License 2.0 | 4 votes |
public void accept(@NotNull PsiElementVisitor psiElementVisitor) { psiElementVisitor.visitFile(this); }
Example 6
Source File: MakefileParserDefinition.java From CppTools with Apache License 2.0 | 4 votes |
public void accept(@NotNull PsiElementVisitor psiElementVisitor) { psiElementVisitor.visitFile(this); }
Example 7
Source File: IgnoreFile.java From idea-gitignore with MIT License | 2 votes |
/** * Passes the element to the specified visitor. * * @param visitor the visitor to pass the element to. */ @Override public void accept(@NotNull PsiElementVisitor visitor) { visitor.visitFile(this); }