Uses of Interface
org.eclipse.jface.text.rules.IToken
-
Packages that use IToken Package Description org.eclipse.jface.text.rules Provides a framework for rule based text scanning and uses the framework to provide rule-driven default implementations ofIPresentationDamager,IPresentationRepairerandIDocumentPartitioner. -
-
Uses of IToken in org.eclipse.jface.text.rules
Classes in org.eclipse.jface.text.rules that implement IToken Modifier and Type Class Description classTokenStandard implementation ofIToken.Fields in org.eclipse.jface.text.rules declared as IToken Modifier and Type Field Description static ITokenToken. EOFStandard token: End Of File.protected ITokenRuleBasedScanner. fDefaultReturnTokenThe token to be returned by default if no rule firesprotected ITokenWordRule. fDefaultTokenThe default token to be returned on success and if nothing else has been specified.protected ITokenNumberRule. fTokenThe token to be returned when this rule is successfulprotected ITokenPatternRule. fTokenThe token to be returned on successprotected ITokenWhitespaceRule. fWhitespaceTokenThe token returned for whitespace.static ITokenToken. OTHERDeprecated.will be removedstatic ITokenToken. UNDEFINEDStandard token: Undefined.static ITokenToken. WHITESPACEStandard token: Whitespace.Fields in org.eclipse.jface.text.rules with type parameters of type IToken Modifier and Type Field Description protected Map<String,IToken>WordRule. fWordsThe table of predefined words and token for this rule.Methods in org.eclipse.jface.text.rules that return IToken Modifier and Type Method Description protected ITokenPatternRule. doEvaluate(ICharacterScanner scanner)Evaluates this rules without considering any column constraints.protected ITokenPatternRule. doEvaluate(ICharacterScanner scanner, boolean resume)Evaluates this rules without considering any column constraints.ITokenIPredicateRule. evaluate(ICharacterScanner scanner, boolean resume)Evaluates the rule by examining the characters available from the provided character scanner.ITokenIRule. evaluate(ICharacterScanner scanner)Evaluates the rule by examining the characters available from the provided character scanner.ITokenNumberRule. evaluate(ICharacterScanner scanner)ITokenPatternRule. evaluate(ICharacterScanner scanner)ITokenPatternRule. evaluate(ICharacterScanner scanner, boolean resume)ITokenWhitespaceRule. evaluate(ICharacterScanner scanner)Evaluates the rule by examining the characters available from the provided character scanner.ITokenWordRule. evaluate(ICharacterScanner scanner)ITokenIPredicateRule. getSuccessToken()Returns the success token of this predicate rule.ITokenPatternRule. getSuccessToken()ITokenITokenScanner. nextToken()Returns the next token in the document.ITokenRuleBasedPartitionScanner. nextToken()ITokenRuleBasedScanner. nextToken()Methods in org.eclipse.jface.text.rules with parameters of type IToken Modifier and Type Method Description voidWordRule. addWord(String word, IToken token)Adds a word and the token to be returned if it is detected.protected StringDefaultPartitioner. getTokenContentType(IToken token)Deprecated.Returns a content type encoded in the given token.protected StringFastPartitioner. getTokenContentType(IToken token)Returns a content type encoded in the given token.protected StringRuleBasedPartitioner. getTokenContentType(IToken token)Deprecated.Returns a content type encoded in the given token.protected TextAttributeDefaultDamagerRepairer. getTokenTextAttribute(IToken token)Returns a text attribute encoded in the given token.voidRuleBasedScanner. setDefaultReturnToken(IToken defaultReturnToken)Configures the scanner's default return token.Constructors in org.eclipse.jface.text.rules with parameters of type IToken Constructor Description EndOfLineRule(String startSequence, IToken token)Creates a rule for the given starting sequence which, if detected, will return the specified token.EndOfLineRule(String startSequence, IToken token, char escapeCharacter)Creates a rule for the given starting sequence which, if detected, will return the specified token.EndOfLineRule(String startSequence, IToken token, char escapeCharacter, boolean escapeContinuesLine)Creates a rule for the given starting sequence which, if detected, will return the specified token.MultiLineRule(String startSequence, String endSequence, IToken token)Creates a rule for the given starting and ending sequence which, if detected, will return the specified token.MultiLineRule(String startSequence, String endSequence, IToken token, char escapeCharacter)Creates a rule for the given starting and ending sequence which, if detected, will return the specific token.MultiLineRule(String startSequence, String endSequence, IToken token, char escapeCharacter, boolean breaksOnEOF)Creates a rule for the given starting and ending sequence which, if detected, will return the specific token.NumberRule(IToken token)Creates a rule which will return the specified token when a numerical sequence is detected.PatternRule(String startSequence, String endSequence, IToken token, char escapeCharacter, boolean breaksOnEOL)Creates a rule for the given starting and ending sequence.PatternRule(String startSequence, String endSequence, IToken token, char escapeCharacter, boolean breaksOnEOL, boolean breaksOnEOF)Creates a rule for the given starting and ending sequence.PatternRule(String startSequence, String endSequence, IToken token, char escapeCharacter, boolean breaksOnEOL, boolean breaksOnEOF, boolean escapeContinuesLine)Creates a rule for the given starting and ending sequence.SingleLineRule(String startSequence, String endSequence, IToken token)Creates a rule for the given starting and ending sequence which, if detected, will return the specified token.SingleLineRule(String startSequence, String endSequence, IToken token, char escapeCharacter)Creates a rule for the given starting and ending sequence which, if detected, will return the specified token.SingleLineRule(String startSequence, String endSequence, IToken token, char escapeCharacter, boolean breaksOnEOF)Creates a rule for the given starting and ending sequence which, if detected, will return the specified token.SingleLineRule(String startSequence, String endSequence, IToken token, char escapeCharacter, boolean breaksOnEOF, boolean escapeContinuesLine)Creates a rule for the given starting and ending sequence which, if detected, will return the specified token.WhitespaceRule(IWhitespaceDetector detector, IToken token)Creates a rule which, with the help of an whitespace detector, will return the given whitespace token when a whitespace is detected.WordPatternRule(IWordDetector detector, String startSequence, String endSequence, IToken token)Creates a rule for the given starting and ending word pattern which, if detected, will return the specified token.WordPatternRule(IWordDetector detector, String startSequence, String endSequence, IToken token, char escapeCharacter)/** Creates a rule for the given starting and ending word pattern which, if detected, will return the specified token.WordRule(IWordDetector detector, IToken defaultToken)Creates a rule which, with the help of a word detector, will return the token associated with the detected word.WordRule(IWordDetector detector, IToken defaultToken, boolean ignoreCase)Creates a rule which, with the help of a word detector, will return the token associated with the detected word.
-