Class UnoidlScanner
- java.lang.Object
-
- org.eclipse.jface.text.rules.RuleBasedScanner
-
- org.libreoffice.ide.eclipse.core.editors.syntax.UnoidlScanner
-
- All Implemented Interfaces:
org.eclipse.jface.text.rules.ICharacterScanner,org.eclipse.jface.text.rules.ITokenScanner,IUnoidlSyntax
public class UnoidlScanner extends org.eclipse.jface.text.rules.RuleBasedScanner implements IUnoidlSyntax
UNO-IDL code scanner. Used by the UNO-IDL viewer configuration. In order to fully understand the editor mechanisms, please report to Eclipse plugin developer's guide.
-
-
Field Summary
-
Fields inherited from class org.eclipse.jface.text.rules.RuleBasedScanner
fColumn, fDefaultReturnToken, fDelimiters, fDocument, fOffset, fRangeEnd, fRules, fTokenOffset, UNDEFINED
-
Fields inherited from interface org.libreoffice.ide.eclipse.core.editors.syntax.IUnoidlSyntax
CONSTANTS, MODIFIERS, RESERVED_WORDS, TYPES
-
-
Constructor Summary
Constructors Constructor Description UnoidlScanner(ColorProvider pColorProvider)Default constructor, initializing the rules to apply in the uno-idl code.
-
-
-
Constructor Detail
-
UnoidlScanner
public UnoidlScanner(ColorProvider pColorProvider)
Default constructor, initializing the rules to apply in the uno-idl code.- Parameters:
pColorProvider- a color provider to colorize the resulting tokens
-
-