com.intellij.psi.stubs.IStubElementType Java Examples

The following examples show how to use com.intellij.psi.stubs.IStubElementType. 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: CSharpReferenceExpressionStub.java    From consulo-csharp with Apache License 2.0 5 votes vote down vote up
public CSharpReferenceExpressionStub(StubElement parent, IStubElementType elementType, String referenceText, int kindIndex, int memberAccessType, boolean global)
{
	super(parent, elementType);
	myGlobal = global;
	myReferenceText = referenceText;
	myKindIndex = kindIndex;
	myMemberAccessTypeIndex = memberAccessType;
}
 
Example #2
Source File: PsiModuleStub.java    From reasonml-idea-plugin with MIT License 5 votes vote down vote up
public PsiModuleStub(StubElement parent, @NotNull IStubElementType elementType, @Nullable String name, @Nullable String path, String alias,
                     boolean isComponent, boolean isInterface) {
    super(parent, elementType, name);
    m_path = path;
    m_qname = path == null || path.length() == 0 ? "" + name : path + "." + name;
    m_alias = alias;
    m_isComponent = isComponent;
    m_isInterface = isInterface;
}
 
Example #3
Source File: PsiLetStub.java    From reasonml-idea-plugin with MIT License 5 votes vote down vote up
public PsiLetStub(StubElement parent, @NotNull IStubElementType elementType, String name, String qname, String alias, boolean isFunction, List<String> deconstructionNames) {
    super(parent, elementType, name);
    m_qname = qname;
    m_alias = alias;
    m_isFunction = isFunction;
    m_deconstructionNames = deconstructionNames;
}
 
Example #4
Source File: PsiModuleStub.java    From reasonml-idea-plugin with MIT License 5 votes vote down vote up
public PsiModuleStub(StubElement parent, @NotNull IStubElementType elementType, @Nullable StringRef name, @Nullable String path, String alias,
                     boolean isComponent, boolean isInterface) {
    super(parent, elementType, name);
    m_path = path;
    m_qname = path == null || path.length() == 0 ? "" + name : path + "." + name;
    m_alias = alias;
    m_isComponent = isComponent;
    m_isInterface = isInterface;
}
 
Example #5
Source File: BashVarDefImpl.java    From BashSupport with Apache License 2.0 4 votes vote down vote up
public BashVarDefImpl(@NotNull BashVarDefStub stub, @NotNull IStubElementType nodeType) {
    super(stub, nodeType, "Bash var def");
}
 
Example #6
Source File: CSharpNamespaceDeclStub.java    From consulo-csharp with Apache License 2.0 4 votes vote down vote up
public CSharpNamespaceDeclStub(final StubElement parent, final IStubElementType elementType, @Nullable final String referenceTextRef)
{
	super(parent, elementType);
	myReferenceTextRef = referenceTextRef;
}
 
Example #7
Source File: CSharpGenericConstraintListImpl.java    From consulo-csharp with Apache License 2.0 4 votes vote down vote up
public CSharpGenericConstraintListImpl(@Nonnull EmptyStub<CSharpGenericConstraintList> stub,
		@Nonnull IStubElementType<? extends EmptyStub<CSharpGenericConstraintList>, ?> nodeType)
{
	super(stub, nodeType);
}
 
Example #8
Source File: CSharpGenericConstraintTypeValueImpl.java    From consulo-csharp with Apache License 2.0 4 votes vote down vote up
public CSharpGenericConstraintTypeValueImpl(@Nonnull EmptyStub<CSharpGenericConstraintTypeValue> stub,
		@Nonnull IStubElementType<? extends EmptyStub<CSharpGenericConstraintTypeValue>, ?> nodeType)
{
	super(stub, nodeType);
}
 
Example #9
Source File: CSharpDummyDeclarationImpl.java    From consulo-csharp with Apache License 2.0 4 votes vote down vote up
public CSharpDummyDeclarationImpl(@Nonnull CSharpDummyDeclStub stub, @Nonnull IStubElementType<? extends CSharpDummyDeclStub, ?> nodeType)
{
	super(stub, nodeType);
}
 
Example #10
Source File: CSharpStubNativeTypeImpl.java    From consulo-csharp with Apache License 2.0 4 votes vote down vote up
public CSharpStubNativeTypeImpl(@Nonnull CSharpWithIntValueStub<CSharpNativeType> stub,
		@Nonnull IStubElementType<? extends CSharpWithIntValueStub<CSharpNativeType>, ?> nodeType)
{
	super(stub, nodeType);
}
 
Example #11
Source File: HaskellStubbedPsiElementBase.java    From intellij-haskforce with Apache License 2.0 4 votes vote down vote up
public HaskellStubbedPsiElementBase(T stub, IStubElementType nodeType) {
    super(stub, nodeType);
}
 
Example #12
Source File: CSharpWithStringValueStub.java    From consulo-csharp with Apache License 2.0 4 votes vote down vote up
public CSharpWithStringValueStub(StubElement parent, IStubElementType elementType, StringRef referenceText)
{
	super(parent, elementType);
	myReferenceText = StringRef.toString(referenceText);
}
 
Example #13
Source File: CSharpStubTypeListImpl.java    From consulo-csharp with Apache License 2.0 4 votes vote down vote up
public CSharpStubTypeListImpl(@Nonnull CSharpTypeListStub stub, @Nonnull IStubElementType<? extends CSharpTypeListStub, ?> nodeType)
{
	super(stub, nodeType);
}
 
Example #14
Source File: BashSimpleCommandImpl.java    From BashSupport with Apache License 2.0 4 votes vote down vote up
public BashSimpleCommandImpl(@NotNull BashCommandStub stub, @NotNull IStubElementType nodeType, @Nullable String name) {
    super(stub, nodeType, name);
}
 
Example #15
Source File: BashIncludeCommandImpl.java    From BashSupport with Apache License 2.0 4 votes vote down vote up
public BashIncludeCommandImpl(@NotNull BashIncludeCommandStub stub, @NotNull IStubElementType nodeType) {
    super(stub, nodeType, null);
}
 
Example #16
Source File: AbstractBashCommand.java    From BashSupport with Apache License 2.0 4 votes vote down vote up
public AbstractBashCommand(T stub, IStubElementType nodeType, String name) {
    super(stub, nodeType, name);
}
 
Example #17
Source File: CSharpWithStringValueStub.java    From consulo-csharp with Apache License 2.0 4 votes vote down vote up
public CSharpWithStringValueStub(StubElement parent, IStubElementType elementType, String referenceText)
{
	super(parent, elementType);
	myReferenceText = referenceText;
}
 
Example #18
Source File: BashVarImpl.java    From BashSupport with Apache License 2.0 4 votes vote down vote up
public BashVarImpl(@NotNull BashVarStub stub, @NotNull IStubElementType nodeType) {
    super(stub, nodeType, "Bash var def");
}
 
Example #19
Source File: CSharpWithIntValueStub.java    From consulo-csharp with Apache License 2.0 4 votes vote down vote up
public CSharpWithIntValueStub(StubElement parent, IStubElementType elementType, int value)
{
	super(parent, elementType);
	myValue = value;
}
 
Example #20
Source File: CSharpModifierListStub.java    From consulo-csharp with Apache License 2.0 4 votes vote down vote up
public CSharpModifierListStub(StubElement parent, IStubElementType elementType, int modifierMask)
{
	super(parent, elementType);
	myModifierMask = modifierMask;
}
 
Example #21
Source File: BashFunctionDefStubImpl.java    From BashSupport with Apache License 2.0 4 votes vote down vote up
public BashFunctionDefStubImpl(StubElement parent, StringRef name, final IStubElementType elementType) {
    super(parent, elementType);
    myName = name;
}
 
Example #22
Source File: BashIncludeCommandStubImpl.java    From BashSupport with Apache License 2.0 4 votes vote down vote up
public BashIncludeCommandStubImpl(StubElement parent, StringRef includedFilename, StringRef included, final IStubElementType elementType) {
    super(parent, elementType);
    this.includedFilename = includedFilename;
    this.includerFilename = included;
}
 
Example #23
Source File: CSharpStubMemberImpl.java    From consulo-csharp with Apache License 2.0 4 votes vote down vote up
public CSharpStubMemberImpl(@Nonnull S stub, @Nonnull IStubElementType<? extends S, ?> nodeType)
{
	super(stub, nodeType);
}
 
Example #24
Source File: CSharpConstructorDeclarationImpl.java    From consulo-csharp with Apache License 2.0 4 votes vote down vote up
public CSharpConstructorDeclarationImpl(@Nonnull CSharpMethodDeclStub stub, @Nonnull IStubElementType<? extends CSharpMethodDeclStub,
		?> nodeType)
{
	super(stub, nodeType);
}
 
Example #25
Source File: BashVarDefStubImpl.java    From BashSupport with Apache License 2.0 4 votes vote down vote up
public BashVarDefStubImpl(StubElement parent, StringRef name, final IStubElementType elementType, boolean readOnly) {
    super(parent, elementType);
    this.name = name;
    this.readOnly = readOnly;
}
 
Example #26
Source File: CSharpGenericConstraintImpl.java    From consulo-csharp with Apache License 2.0 4 votes vote down vote up
public CSharpGenericConstraintImpl(@Nonnull CSharpWithStringValueStub<CSharpGenericConstraint> stub,
		@Nonnull IStubElementType<? extends CSharpWithStringValueStub<CSharpGenericConstraint>, ?> nodeType)
{
	super(stub, nodeType);
}
 
Example #27
Source File: AbstractStubBasedNamedNode.java    From protobuf-jetbrains-plugin with Apache License 2.0 4 votes vote down vote up
public AbstractStubBasedNamedNode(T stub, IStubElementType type) {
    super(stub, type);
}
 
Example #28
Source File: MessageNode.java    From protobuf-jetbrains-plugin with Apache License 2.0 4 votes vote down vote up
public MessageNode(DataTypeStub stub, IStubElementType type) {
    super(stub, type);
}
 
Example #29
Source File: EnumNode.java    From protobuf-jetbrains-plugin with Apache License 2.0 4 votes vote down vote up
public EnumNode(EnumStub stub, IStubElementType type) {
    super(stub, type);
}
 
Example #30
Source File: DataTypeStub.java    From protobuf-jetbrains-plugin with Apache License 2.0 4 votes vote down vote up
DataTypeStub(StubElement parent, IStubElementType<?, T> type, String fullName, String name) {
    super(parent, type, name);
    this.fullName = fullName;
}