|
def | __init__ (self, text, formatter) |
|
def | parseText (self) |
|
def | parse (self) |
|
Definition at line 10 of file parser.py.
list caffe2.python.docs.parser.Parser.regexes |
|
static |
Initial value: 4 lambda m, f: f.addCode(m.group(1))
7 lambda m, f: f.addCode(m.group(1))
9 (
r'((( {2})+)(\S.*)(\n\s*\n|\n))+',
10 lambda m, f: f.addCode(m.group(0))
13 lambda m, f: f.addRaw(
'{c} '.format(c=m.group(1)))
or True 16 lambda m, f: f.addCode(m.group(1),
True)
19 (
'http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]' 20 r'|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+',
21 lambda m, f: f.addLink(m.group(0), m.group(0))
24 lambda m, f: f.addEmphasis(m.group(1), 2)
27 lambda m, f: f.addEmphasis(m.group(1), 1)
Definition at line 14 of file parser.py.
The documentation for this class was generated from the following file: