Package | Description |
---|---|
org.netbeans.editor | |
org.netbeans.editor.ext |
Completion Design View
|
Modifier and Type | Interface and Description |
---|---|
interface |
ImageTokenID
Token-id with the fixed token image.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseImageTokenID
Token-id with the fixed token image.
|
class |
BaseTokenID
Base implementation of the token-id.
|
Modifier and Type | Field and Description |
---|---|
protected TokenID |
Syntax.supposedTokenID
This variable can be populated by the parseToken() method
in case the user types an errorneous construction but
it's clear what correct token he meant to write.
|
Modifier and Type | Method and Description |
---|---|
TokenID |
SyntaxUpdateTokens.TokenInfo.getID() |
TokenID |
Syntax.getSupposedTokenID() |
TokenID |
TokenItem.getTokenID()
Get the token-id of this token-item
|
TokenID |
TokenItem.AbstractItem.getTokenID() |
TokenID |
TokenItem.FilterItem.getTokenID() |
TokenID[] |
TokenContext.getTokenIDs()
Get the token-ids that belong to this token-context.
|
TokenID |
Syntax.nextToken()
Function that should be called externally to scan the text.
|
protected TokenID |
Syntax.parseToken()
This is core function of analyzer and it returns either the token-id
or null to indicate that the end of buffer was found.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TokenContext.addTokenID(TokenID tokenID)
Add token-id to the set of token-ids that belong to this context.
|
int[] |
SyntaxSupport.getTokenBlocks(int startPos,
int endPos,
TokenID[] tokenIDArray)
Get position pairs covering the blocks that include only the tokens
from the given token array.
|
abstract void |
SyntaxUpdateTokens.syntaxUpdateToken(TokenID id,
TokenContextPath contextPath,
int offset,
int length)
Notification that a token was found during updating
of lexical states.
|
boolean |
TokenProcessor.token(TokenID tokenID,
TokenContextPath tokenContextPath,
int tokenBufferOffset,
int tokenLength)
Notify that the token was found.
|
Constructor and Description |
---|
AbstractItem(TokenID tokenID,
TokenContextPath tokenContextPath,
int offset,
String image) |
TokenInfo(TokenID id,
TokenContextPath contextPath,
int offset,
int length) |
Modifier and Type | Method and Description |
---|---|
protected TokenID[] |
ExtSyntaxSupport.getBracketSkipTokens()
Get the array of token IDs that should be skipped when
searching for matching bracket.
|
TokenID[] |
ExtSyntaxSupport.getCommentTokens()
Get the array of token IDs that denote the comments.
|
TokenID |
ExtSyntaxSupport.getTokenID(int offset)
Gets the token-id of the token at the given position.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ExtSyntaxSupport.isWhitespaceToken(TokenID tokenID,
char[] buffer,
int offset,
int tokenLength) |
Built on October 25 2023. | Copyright © 2017-2023 Apache Software Foundation. All Rights Reserved.