JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
juce::LuaTokeniser Class Reference

@tags{GUI} More...

#include "juce_LuaCodeTokeniser.h"

Inheritance diagram for juce::LuaTokeniser:
juce::CodeTokeniser

Public Types

enum  TokenType {
  tokenType_error , 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

int readNextToken (CodeDocument::Iterator &) override
 Reads the next token from the source and returns its token type.
 
CodeEditorComponent::ColourScheme getDefaultColourScheme () override
 Returns a suggested syntax highlighting colour scheme.
 

Detailed Description

@tags{GUI}

Definition at line 34 of file juce_LuaCodeTokeniser.h.

Member Enumeration Documentation

◆ TokenType

The token values returned by this tokeniser.

Definition at line 46 of file juce_LuaCodeTokeniser.h.

Constructor & Destructor Documentation

◆ LuaTokeniser()

juce::LuaTokeniser::LuaTokeniser ( )

Definition at line 207 of file juce_LuaCodeTokeniser.cpp.

◆ ~LuaTokeniser()

juce::LuaTokeniser::~LuaTokeniser ( )
override

Definition at line 208 of file juce_LuaCodeTokeniser.cpp.

Member Function Documentation

◆ getDefaultColourScheme()

CodeEditorComponent::ColourScheme juce::LuaTokeniser::getDefaultColourScheme ( )
overridevirtual

Returns a suggested syntax highlighting colour scheme.

Implements juce::CodeTokeniser.

Definition at line 215 of file juce_LuaCodeTokeniser.cpp.

◆ readNextToken()

int juce::LuaTokeniser::readNextToken ( CodeDocument::Iterator source)
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.

Definition at line 210 of file juce_LuaCodeTokeniser.cpp.


The documentation for this class was generated from the following files: