ROOT
6.06/09
Reference Guide
|
Detects and tags code cells that use the C++ language.
Definition at line 14 of file cpphighlighter.py.
Public Member Functions | |
def | __init__ (self, config=None, kw) |
def | matches (self, source, reg_expr) |
def | preprocess (self, nb, resources) |
Public Attributes | |
re_magic_language | |
preprocess_cell | |
Static Public Attributes | |
list | magics = [ '%%cpp', '%%dcl' ] |
string | cpp = 'cpp' |
string | python = 'python' |
Private Member Functions | |
def | _preprocess_cell_python (self, cell, resources, cell_index) |
def | _preprocess_cell_cpp (self, cell, resources, cell_index) |
def ROOTaaS.html.export.cpphighlighter.CppHighlighter.__init__ | ( | self, | |
config = None , |
|||
kw | |||
) |
Definition at line 23 of file cpphighlighter.py.
|
private |
Definition at line 45 of file cpphighlighter.py.
|
private |
Definition at line 38 of file cpphighlighter.py.
def ROOTaaS.html.export.cpphighlighter.CppHighlighter.matches | ( | self, | |
source, | |||
reg_expr | |||
) |
Definition at line 31 of file cpphighlighter.py.
Referenced by ROOTaaS.html.export.cpphighlighter.CppHighlighter._preprocess_cell_python().
def ROOTaaS.html.export.cpphighlighter.CppHighlighter.preprocess | ( | self, | |
nb, | |||
resources | |||
) |
Definition at line 52 of file cpphighlighter.py.
|
static |
Definition at line 20 of file cpphighlighter.py.
Referenced by ROOTaaS.html.export.cpphighlighter.CppHighlighter._preprocess_cell_cpp(), ROOTaaS.html.export.cpphighlighter.CppHighlighter._preprocess_cell_python(), and ROOTaaS.iPyROOT.cppmagic.CppMagics.cpp().
|
static |
Definition at line 19 of file cpphighlighter.py.
Referenced by ROOTaaS.html.export.cpphighlighter.CppHighlighter.__init__().
ROOTaaS.html.export.cpphighlighter.CppHighlighter.preprocess_cell |
Definition at line 53 of file cpphighlighter.py.
|
static |
Definition at line 21 of file cpphighlighter.py.
ROOTaaS.html.export.cpphighlighter.CppHighlighter.re_magic_language |
Definition at line 29 of file cpphighlighter.py.
Referenced by ROOTaaS.html.export.cpphighlighter.CppHighlighter._preprocess_cell_python().