public class JavaLiteralExpressionElementType extends JavaStubElementType<PsiLiteralStub,PsiLiteralExpression>
IElementType.PredicateARRAY_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, isLeftBoundcheckNotInstantiatedTooLateenumerate, find, getIndex, getLanguage, hashCode, toString, unregisterElementTypes, unregisterElementTypespublic 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.IOExceptionpublic PsiLiteralStub deserialize(StubInputStream dataStream, StubElement parentStub) throws java.io.IOException
java.io.IOExceptionpublic 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>