A base class for tokenising code so that the syntax can be displayed in a code editor. More...
#include <juce_CodeTokeniser.h>
Public Member Functions | |
CodeTokeniser () | |
virtual | ~CodeTokeniser () |
virtual CodeEditorComponent::ColourScheme | getDefaultColourScheme ()=0 |
Returns a suggested syntax highlighting colour scheme. More... | |
virtual int | readNextToken (CodeDocument::Iterator &source)=0 |
Reads the next token from the source and returns its token type. More... | |
A base class for tokenising code so that the syntax can be displayed in a code editor.
{GUI}
|
inline |
|
inlinevirtual |
References JUCE_LEAK_DETECTOR.
|
pure virtual |
Returns a suggested syntax highlighting colour scheme.
Implemented in juce::CPlusPlusCodeTokeniser, juce::LuaTokeniser, and juce::XmlTokeniser.
|
pure virtual |
Reads the next token from the source and returns its token type.
This must leave the source pointing to the first character in the next token.
Implemented in juce::CPlusPlusCodeTokeniser, juce::LuaTokeniser, and juce::XmlTokeniser.