Class OQLScanner
java.lang.Object
org.eclipse.jface.text.rules.RuleBasedScanner
org.eclipse.mat.ui.snapshot.panes.oql.contentAssist.OQLScanner
- All Implemented Interfaces:
ICharacterScanner
,ITokenScanner
Provides color tokens for syntax highlighting.
-
Field Summary
Fields inherited from interface org.eclipse.jface.text.rules.ICharacterScanner
EOF
-
Constructor Summary
ConstructorDescriptionOQLScanner
(Color color) Assigns keyword coloring rule to the rulesetOQLScanner
(Color color, String clause) Assigns keyword coloring rule to the ruleset -
Method Summary
Methods inherited from class org.eclipse.jface.text.rules.RuleBasedScanner
getColumn, getLegalLineDelimiters, getTokenLength, getTokenOffset, nextToken, read, setDefaultReturnToken, setRange, setRules, unread
-
Constructor Details
-
OQLScanner
Assigns keyword coloring rule to the ruleset -
OQLScanner
Assigns keyword coloring rule to the ruleset
-