|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.text.rules.RuleBasedScanner
org.ocleditor.internal.ui.editor.OclCodeScanner
Scans the OCL code and does the syntax highlighting.
The scanner distinguishes between keywords, strings and the rest. Whitespaces are ignored.
Field Summary |
Fields inherited from interface org.eclipse.jface.text.rules.ICharacterScanner |
EOF |
Constructor Summary | |
OclCodeScanner(OclColorManager manager)
|
Methods inherited from class org.eclipse.jface.text.rules.RuleBasedScanner |
getColumn, getLegalLineDelimiters, getTokenLength, getTokenOffset, nextToken, read, setDefaultReturnToken, setRange, setRules, unread |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OclCodeScanner(OclColorManager manager)
manager
- the color manager used for syntax highlighting.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |