JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::XmlTokeniser Class Reference

@tags{GUI} More...

#include <juce_XMLCodeTokeniser.h>

Inheritance diagram for juce::XmlTokeniser:
Collaboration diagram for juce::XmlTokeniser:

Public Types

enum  TokenType {
  tokenType_error = 0,
  tokenType_comment,
  tokenType_keyword,
  tokenType_operator,
  tokenType_identifier,
  tokenType_string,
  tokenType_bracket,
  tokenType_punctuation,
  tokenType_preprocessor
}
 The token values returned by this tokeniser. More...
 

Public Member Functions

 XmlTokeniser ()
 
 ~XmlTokeniser () 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...
 

Detailed Description

@tags{GUI}

Member Enumeration Documentation

◆ TokenType

The token values returned by this tokeniser.

Enumerator
tokenType_error 
tokenType_comment 
tokenType_keyword 
tokenType_operator 
tokenType_identifier 
tokenType_string 
tokenType_bracket 
tokenType_punctuation 
tokenType_preprocessor 

Constructor & Destructor Documentation

◆ XmlTokeniser()

juce::XmlTokeniser::XmlTokeniser ( )

◆ ~XmlTokeniser()

juce::XmlTokeniser::~XmlTokeniser ( )
override

Member Function Documentation

◆ getDefaultColourScheme()

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

Returns a suggested syntax highlighting colour scheme.

Implements juce::CodeTokeniser.

◆ readNextToken()

int juce::XmlTokeniser::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.


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