JUCE

- Main Page
- Related Pages
- Topics
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
XmlTokeniser Class Reference
juce_gui_extra » code_editor

`#include <juce_XMLCodeTokeniser.h>`

Inheritance diagram for 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
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.
Public Member Functions inherited from CodeTokeniser
| CodeTokeniser ()=default
virtual | ~CodeTokeniser ()=default

## Member Enumeration Documentation

## ◆ TokenType

enum XmlTokeniser::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()

XmlTokeniser::XmlTokeniser | ( |  | ) |

## ◆ ~XmlTokeniser()

XmlTokeniser::~XmlTokeniser | ( |  | ) |
| override

## Member Function Documentation

## ◆ readNextToken()

int XmlTokeniser::readNextToken | ( | CodeDocument::Iterator & | source | ) |
| override 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.

Implements CodeTokeniser.

## ◆ getDefaultColourScheme()

CodeEditorComponent::ColourScheme XmlTokeniser::getDefaultColourScheme | ( |  | ) |
| override virtual

Returns a suggested syntax highlighting colour scheme.

Implements CodeTokeniser.

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

- juce_XMLCodeTokeniser.h