Class SelectionScanner
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.parser.Scanner
org.aspectj.org.eclipse.jdt.internal.codeassist.select.SelectionScanner
-
Field Summary
FieldsFields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.parser.Scanner
BINARY_LITERAL_NOT_BELOW_17, BracketKinds, checkNonExternalizedStringLiterals, checkUninternedIdentityComparison, COMMENT_ARRAYS_SIZE, commentIsMarkdown, commentPtr, commentStarts, commentStops, commentTagStarts, complianceLevel, containsAssertKeyword, CurlyBracket, currentCharacter, currentPosition, diet, END_OF_SOURCE, eofPosition, fakeInModule, foundTaskCount, foundTaskMessages, foundTaskPositions, foundTaskPriorities, foundTaskTags, HIGH_SURROGATE_MAX_VALUE, HIGH_SURROGATE_MIN_VALUE, IDENTITY_COMPARISON_TAG, ILLEGAL_HEXA_LITERAL, initialPosition, insideModuleInfo, insideRecovery, INVALID_BINARY, INVALID_CHAR_IN_STRING, INVALID_CHARACTER_CONSTANT, INVALID_DIGIT, INVALID_ESCAPE, INVALID_FLOAT, INVALID_HEXA, INVALID_HIGH_SURROGATE, INVALID_INPUT, INVALID_LOW_SURROGATE, INVALID_OCTAL, INVALID_TEXTBLOCK, INVALID_UNDERSCORE, INVALID_UNICODE_ESCAPE, isTaskCaseSensitive, lastCommentLinePosition, lastPosition, lineEnds, linePtr, LOW_SURROGATE_MAX_VALUE, LOW_SURROGATE_MIN_VALUE, nextToken, nlsTagsPtr, NULL_SOURCE_STRING, previewEnabled, rawStart, recordLineSeparator, returnOnlyGreater, RoundBracket, scanContext, scanningFloatLiteral, scanningSwitchLabel, skipComments, source, sourceLevel, SquareBracket, startPosition, TAG_POSTFIX, TAG_POSTFIX_LENGTH, TAG_PREFIX, TAG_PREFIX_LENGTH, taskPriorities, taskTags, tokenizeComments, tokenizeWhiteSpace, UNDERSCORES_IN_LITERALS_NOT_BELOW_17, unicodeAsBackSlash, UNTERMINATED_COMMENT, UNTERMINATED_STRING, UNTERMINATED_TEXT_BLOCK, useAssertAsAnIndentifier, useEnumAsAnIndentifier, validIdentityComparisonLines, wasAcr, withoutUnicodeBuffer, withoutUnicodePtr -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchar[]protected booleanMethods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.parser.Scanner
areRestrictedModuleKeywordsActive, atEnd, atMultiCaseComma, atTypeAnnotation, checkTaskTag, copyAllCommentInfo, copyCommentInfo, fastForward, findCommentType, getCurrentStringLiteral, getCurrentTextBlock, getCurrentTokenEndPosition, getCurrentTokenSource, getCurrentTokenSourceString, getCurrentTokenStartPosition, getCurrentTokenString, getIdentityComparisonLines, getLineEnd, getLineEnds, getLineNumber, getLineStart, getNextChar, getNextChar, getNextChar, getNextCharAsDigit, getNextCharAsDigit, getNextCharAsJavaIdentifierPart, getNextCharAsJavaIdentifierPartWithBoundCheck, getNextCharWithBoundChecks, getNextNotFakedToken, getNextToken, getNextToken0, getNextUnicodeChar, getNLSTags, getRawTokenSource, getRawTokenSourceEnd, getSource, growCommentInfoArrays, illegalHexaLiteral, invalidBinary, invalidBinaryLiteral, invalidCharacter, invalidCharInString, invalidEof, invalidEscape, invalidFloat, invalidHexa, invalidHighSurrogate, invalidInput, invalidLowSurrogate, invalidToken, invalidUnderscore, invalidUnderscoresInLiterals, invalidUnicodeEscape, isFirstTag, isIdentifier, isInModuleDeclaration, isKeyword, isLiteral, isRestrictedKeyword, jumpOverMethodBody, jumpOverUnicodeWhiteSpace, lineBeginsWithMarkdown, mayBeAtCasePattern, maybeAtLambdaOrCast, maybeAtReferenceExpression, processSingleQuotes, pushLineSeparator, pushUnicodeLineSeparator, recordComment, resetTo, resetTo, resetTo, scanEscapeCharacter, scanForStringLiteral, scanForTextBlock, scanForTextBlockBeginning, scanForTextBlockClose, scanIdentifier, scanIdentifierOrKeywordAj, scanIdentifierOrKeywordWithBoundCheck, scanNumber, setActiveParser, setSource, setSource, setSource, toString, toStringAction, ungetToken, unicodeInitializeBuffer, unicodeStore, unicodeStore, unterminatedComment, unterminatedString, unterminatedTextBlock
-
Field Details
-
selectionIdentifier
public char[] selectionIdentifier -
selectionStart
public int selectionStart -
selectionEnd
public int selectionEnd
-
-
Constructor Details
-
SelectionScanner
public SelectionScanner(long sourceLevel, boolean previewEnabled)
-
-
Method Details
-
isAtAssistIdentifier
protected boolean isAtAssistIdentifier()- Overrides:
isAtAssistIdentifierin classScanner
-
getCurrentIdentifierSource
public char[] getCurrentIdentifierSource()- Overrides:
getCurrentIdentifierSourcein classScanner
-
scanIdentifierOrKeyword
- Overrides:
scanIdentifierOrKeywordin classScanner
-