public class JavaLiteralExpressionElementType extends JavaStubElementType<PsiLiteralStub,PsiLiteralExpression>
IElementType.Predicate
ARRAY_FACTORY, EMPTY_ARRAY, FIRST_TOKEN_INDEX, TRUE
Constructor and Description |
---|
JavaLiteralExpressionElementType() |
Modifier and Type | Method and Description |
---|---|
ASTNode |
createCompositeNode() |
PsiLiteralExpression |
createPsi(ASTNode node) |
PsiLiteralExpression |
createPsi(PsiLiteralStub stub) |
PsiLiteralStub |
createStub(LighterAST tree,
LighterASTNode node,
StubElement parentStub) |
PsiLiteralStub |
deserialize(StubInputStream dataStream,
StubElement parentStub) |
void |
indexStub(PsiLiteralStub stub,
IndexSink sink) |
void |
serialize(PsiLiteralStub stub,
StubOutputStream dataStream) |
boolean |
shouldCreateStub(ASTNode node) |
boolean |
shouldCreateStub(LighterAST tree,
LighterASTNode node,
StubElement parentStub) |
createStub, getExternalId, getPsiFactory, isCompiled, isLeftBound
checkNotInstantiatedTooLate
enumerate, find, getIndex, getLanguage, hashCode, toString, unregisterElementTypes, unregisterElementTypes
public PsiLiteralExpression createPsi(ASTNode node)
createPsi
in class JavaStubElementType<PsiLiteralStub,PsiLiteralExpression>
public PsiLiteralStub createStub(LighterAST tree, LighterASTNode node, StubElement parentStub)
createStub
in class ILightStubElementType<PsiLiteralStub,PsiLiteralExpression>
public PsiLiteralExpression createPsi(PsiLiteralStub stub)
createPsi
in class IStubElementType<PsiLiteralStub,PsiLiteralExpression>
public void serialize(PsiLiteralStub stub, StubOutputStream dataStream) throws java.io.IOException
java.io.IOException
public PsiLiteralStub deserialize(StubInputStream dataStream, StubElement parentStub) throws java.io.IOException
java.io.IOException
public void indexStub(PsiLiteralStub stub, IndexSink sink)
public ASTNode createCompositeNode()
public boolean shouldCreateStub(LighterAST tree, LighterASTNode node, StubElement parentStub)
shouldCreateStub
in class ILightStubElementType<PsiLiteralStub,PsiLiteralExpression>
public boolean shouldCreateStub(ASTNode node)
shouldCreateStub
in class IStubElementType<PsiLiteralStub,PsiLiteralExpression>