class documentation

class CFamilyLexer(RegexLexer):

Known subclasses: pygments.lexers.c_cpp.CLexer, pygments.lexers.c_cpp.CppLexer

View In Hierarchy

For C family source code. This is used as a base class to avoid repetitious definitions.
Method __init__ Undocumented
Method get​_tokens​_unprocessed Split text into (tokentype, text) pairs.
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
Class Variable tokens Undocumented
Instance Variable c11highlighting Undocumented
Instance Variable c99highlighting Undocumented
Instance Variable platformhighlighting Undocumented
Instance Variable stdlibhighlighting Undocumented

Inherited from Lexer (via RegexLexer):

Method analyse​_text No summary
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
Class Variable aliases Undocumented
Class Variable filenames Undocumented
Class Variable mimetypes Undocumented
Class Variable name Undocumented
Method __repr__ Undocumented
Method add​_filter Add a new stream filter to this lexer.
Class Variable priority Undocumented
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 __init__(self, **options):

Undocumented

def get_tokens_unprocessed(self, text):

Split text into (tokentype, text) pairs.

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

_decpart: str =

Undocumented

_hexpart: str =

Undocumented

_ident: str =

Undocumented

_intsuffix: str =

Undocumented

_namespaced_ident: str =

Undocumented

_ws1: str =

Undocumented

c11_atomic_types: set[str] =

Undocumented

c99_types: set[str] =

Undocumented

linux_types: set[str] =

Undocumented

stdlib_types: set[str] =

Undocumented

c11highlighting =

Undocumented

c99highlighting =

Undocumented

platformhighlighting =

Undocumented

stdlibhighlighting =

Undocumented