@tags{GUI} More...
#include <juce_LuaCodeTokeniser.h>
Public Types | |
enum | TokenType { tokenType_error = 0, tokenType_comment, tokenType_keyword, tokenType_operator, tokenType_identifier, tokenType_integer, tokenType_float, tokenType_string, tokenType_bracket, tokenType_punctuation } |
The token values returned by this tokeniser. More... | |
Public Member Functions | |
LuaTokeniser () | |
~LuaTokeniser () override | |
CodeEditorComponent::ColourScheme | getDefaultColourScheme () override |
Returns a suggested syntax highlighting colour scheme. More... | |
int | readNextToken (CodeDocument::Iterator &) override |
Reads the next token from the source and returns its token type. More... | |
@tags{GUI}
juce::LuaTokeniser::LuaTokeniser | ( | ) |
|
override |
|
overridevirtual |
Returns a suggested syntax highlighting colour scheme.
Implements juce::CodeTokeniser.
|
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 juce::CodeTokeniser.