class documentation

class CudaLexer(CLexer):

View In Hierarchy

For NVIDIA CUDA™ source.

New in version 1.6.
Method get​_tokens​_unprocessed Split text into (tokentype, text) pairs.
Class Variable aliases Undocumented
Class Variable execution​_confs Undocumented
Class Variable filenames Undocumented
Class Variable function​_qualifiers Undocumented
Class Variable functions Undocumented
Class Variable mimetypes Undocumented
Class Variable name Undocumented
Class Variable variable​_qualifiers Undocumented
Class Variable variables Undocumented
Class Variable vector​_types Undocumented

Inherited from CLexer:

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

Inherited from CFamilyLexer (via CLexer):

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 CLexer, 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] =

Undocumented

execution_confs: set[str] =

Undocumented

filenames: list[str] =
function_qualifiers: set[str] =

Undocumented

functions: set[str] =

Undocumented

mimetypes: list[str] =
name: str =

Undocumented

variable_qualifiers: set[str] =

Undocumented

variables: set[str] =

Undocumented

vector_types: set[str] =

Undocumented