ROOT  6.06/09
Reference Guide
Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | List of all members
ROOTaaS.html.export.cpphighlighter.CppHighlighter Class Reference

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)
 
+ Inheritance diagram for ROOTaaS.html.export.cpphighlighter.CppHighlighter:
+ Collaboration diagram for ROOTaaS.html.export.cpphighlighter.CppHighlighter:

Constructor & Destructor Documentation

def ROOTaaS.html.export.cpphighlighter.CppHighlighter.__init__ (   self,
  config = None,
  kw 
)

Definition at line 23 of file cpphighlighter.py.

Member Function Documentation

def ROOTaaS.html.export.cpphighlighter.CppHighlighter._preprocess_cell_cpp (   self,
  cell,
  resources,
  cell_index 
)
private

Definition at line 45 of file cpphighlighter.py.

def ROOTaaS.html.export.cpphighlighter.CppHighlighter._preprocess_cell_python (   self,
  cell,
  resources,
  cell_index 
)
private

Definition at line 38 of file cpphighlighter.py.

def ROOTaaS.html.export.cpphighlighter.CppHighlighter.matches (   self,
  source,
  reg_expr 
)
def ROOTaaS.html.export.cpphighlighter.CppHighlighter.preprocess (   self,
  nb,
  resources 
)

Definition at line 52 of file cpphighlighter.py.

Member Data Documentation

string ROOTaaS.html.export.cpphighlighter.CppHighlighter.cpp = 'cpp'
static
list ROOTaaS.html.export.cpphighlighter.CppHighlighter.magics = [ '%%cpp', '%%dcl' ]
static
ROOTaaS.html.export.cpphighlighter.CppHighlighter.preprocess_cell

Definition at line 53 of file cpphighlighter.py.

string ROOTaaS.html.export.cpphighlighter.CppHighlighter.python = 'python'
static

Definition at line 21 of file cpphighlighter.py.

ROOTaaS.html.export.cpphighlighter.CppHighlighter.re_magic_language

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