mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-03 03:37:58 +07:00
* GrammarKit instead of custom parsing * ToolWindow instead of popup * Inspection and help added
32 lines
1.0 KiB
Java
32 lines
1.0 KiB
Java
// This is a generated file. Not intended for manual editing.
|
|
package com.jetbrains.commandInterface.gnuCommandLine.psi.impl;
|
|
|
|
import java.util.List;
|
|
import org.jetbrains.annotations.*;
|
|
import com.intellij.lang.ASTNode;
|
|
import com.intellij.psi.PsiElement;
|
|
import com.intellij.psi.PsiElementVisitor;
|
|
import com.intellij.psi.util.PsiTreeUtil;
|
|
import static com.jetbrains.commandInterface.gnuCommandLine.CommandLineElementTypes.*;
|
|
import com.jetbrains.commandInterface.gnuCommandLine.CommandLineElement;
|
|
import com.jetbrains.commandInterface.gnuCommandLine.psi.*;
|
|
|
|
public class CommandLineCommandImpl extends CommandLineElement implements CommandLineCommand {
|
|
|
|
public CommandLineCommandImpl(ASTNode node) {
|
|
super(node);
|
|
}
|
|
|
|
public void accept(@NotNull PsiElementVisitor visitor) {
|
|
if (visitor instanceof CommandLineVisitor) ((CommandLineVisitor)visitor).visitCommand(this);
|
|
else super.accept(visitor);
|
|
}
|
|
|
|
@Override
|
|
@NotNull
|
|
public PsiElement getLiteralStartsFromLetter() {
|
|
return findNotNullChildByType(LITERAL_STARTS_FROM_LETTER);
|
|
}
|
|
|
|
}
|