openshot-audio
0.1.7
|
#include <juce_CPlusPlusCodeTokeniser.h>
Public Member Functions | |
CPlusPlusCodeTokeniser () | |
~CPlusPlusCodeTokeniser () | |
int | readNextToken (CodeDocument::Iterator &) override |
CodeEditorComponent::ColourScheme | getDefaultColourScheme () override |
![]() | |
CodeTokeniser () | |
virtual | ~CodeTokeniser () |
Static Public Member Functions | |
static bool | isReservedKeyword (const String &token) noexcept |
A simple lexical analyser for syntax colouring of C++ code.
CPlusPlusCodeTokeniser::CPlusPlusCodeTokeniser | ( | ) |
CPlusPlusCodeTokeniser::~CPlusPlusCodeTokeniser | ( | ) |
|
overridevirtual |
Returns a suggested syntax highlighting colour scheme.
Implements CodeTokeniser.
This is a handy method for checking whether a string is a c++ reserved keyword.
|
overridevirtual |
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.
Implements CodeTokeniser.