class documentation

class ArduinoLexer(CppLexer):

View In Hierarchy

For Arduino(tm) source.

This is an extension of the CppLexer, as the Arduino® Language is a superset of C++

New in version 2.1.
Method get​_tokens​_unprocessed Split text into (tokentype, text) pairs.
Class Variable aliases Undocumented
Class Variable filenames Undocumented
Class Variable functions Undocumented
Class Variable mimetypes Undocumented
Class Variable name Undocumented
Class Variable operators Undocumented
Class Variable structure Undocumented
Class Variable suppress​_highlight Undocumented
Class Variable variables Undocumented

Inherited from CppLexer:

Method analyse​_text No summary
Class Variable priority Undocumented
Class Variable tokens Undocumented

Inherited from CFamilyLexer (via CppLexer):

Method __init__ Undocumented
Class Variable ​_decpart Undocumented
Class Variable ​_hexpart Undocumented
Class Variable ​_ident Undocumented
Class Variable ​_intsuffix Undocumented
Class Variable ​_namespaced​_ident Undocumented
Class Variable ​_ws1 Undocumented
Class Variable c11​_atomic​_types Undocumented
Class Variable c99​_types Undocumented
Class Variable linux​_types Undocumented
Class Variable stdlib​_types Undocumented
Instance Variable c11highlighting Undocumented
Instance Variable c99highlighting Undocumented
Instance Variable platformhighlighting Undocumented
Instance Variable stdlibhighlighting Undocumented

Inherited from Lexer (via CppLexer, CFamilyLexer, RegexLexer):

Method get​_tokens Return an iterable of (tokentype, value) pairs generated from text. If unfiltered is set to True, the filtering mechanism is bypassed even if filters are defined.
Class Variable alias​_filenames Undocumented
Method __repr__ Undocumented
Method add​_filter Add a new stream filter to this lexer.
Instance Variable encoding Undocumented
Instance Variable ensurenl Undocumented
Instance Variable filters Undocumented
Instance Variable options Undocumented
Instance Variable stripall Undocumented
Instance Variable stripnl Undocumented
Instance Variable tabsize Undocumented
def get_tokens_unprocessed(self, text):

Split text into (tokentype, text) pairs.

stack is the inital stack (default: ['root'])

aliases: list[str] =
filenames: list[str] =
functions: set[str] =

Undocumented

mimetypes: list[str] =
name: str =

Undocumented

operators: set[str] =

Undocumented

structure: set[str] =

Undocumented

suppress_highlight: set[str] =

Undocumented

variables: set[str] =

Undocumented