Removed directory with broken name jetbrains\200commandInterface
[idea/community.git] / python / gen / com / jetbrains / commandInterface / commandLine / psi / impl / CommandLineArgumentImpl.java
1 // This is a generated file. Not intended for manual editing.
2 package com.jetbrains.commandInterface.commandLine.psi.impl;
3
4 import com.intellij.lang.ASTNode;
5 import com.intellij.psi.PsiElement;
6 import com.intellij.psi.PsiElementVisitor;
7 import com.jetbrains.commandInterface.command.Argument;
8 import com.jetbrains.commandInterface.command.Help;
9 import com.jetbrains.commandInterface.command.Option;
10 import com.jetbrains.commandInterface.commandLine.CommandLineElement;
11 import com.jetbrains.commandInterface.commandLine.psi.CommandLineArgument;
12 import com.jetbrains.commandInterface.commandLine.psi.CommandLineVisitor;
13 import org.jetbrains.annotations.NotNull;
14 import org.jetbrains.annotations.Nullable;
15
16 import static com.jetbrains.commandInterface.commandLine.CommandLineElementTypes.*;
17
18 public class CommandLineArgumentImpl extends CommandLineElement implements CommandLineArgument {
19
20   public CommandLineArgumentImpl(ASTNode node) {
21     super(node);
22   }
23
24   public void accept(@NotNull PsiElementVisitor visitor) {
25     if (visitor instanceof CommandLineVisitor) ((CommandLineVisitor)visitor).visitArgument(this);
26     else super.accept(visitor);
27   }
28
29   @Override
30   @Nullable
31   public PsiElement getLiteralStartsFromDigit() {
32     return findChildByType(LITERAL_STARTS_FROM_DIGIT);
33   }
34
35   @Override
36   @Nullable
37   public PsiElement getLiteralStartsFromLetter() {
38     return findChildByType(LITERAL_STARTS_FROM_LETTER);
39   }
40
41   @Override
42   @Nullable
43   public PsiElement getLiteralStartsFromSymbol() {
44     return findChildByType(LITERAL_STARTS_FROM_SYMBOL);
45   }
46
47   @Nullable
48   public Option findOptionForOptionArgument() {
49     return CommandLinePsiImplUtils.findOptionForOptionArgument(this);
50   }
51
52   @Nullable
53   public Argument findRealArgument() {
54     return CommandLinePsiImplUtils.findRealArgument(this);
55   }
56
57   @Nullable
58   public Help findBestHelp() {
59     return CommandLinePsiImplUtils.findBestHelp(this);
60   }
61
62 }