GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
parser.cc File Reference
#include "parser.h"
#include "procstream.h"
#include <QFileInfo>
#include <QDir>
#include <QFile>
#include <QUrl>
#include <QRegExp>
#include <QBuffer>
Include dependency graph for parser.cc:

Go to the source code of this file.

Functions

static QString get_first_line (const QString &text)
 
static void info_to_html (QString &text)
 
static QString parser_node (const QString &text, const QString &node_name)
 
static void replace (QString &text, const QRegExp &re, const QString &after)
 
static void replace_colons (QString &text)
 
static void replace_links (QString &text)
 

Function Documentation

static QString get_first_line ( const QString &  text)
static

Definition at line 248 of file parser.cc.

Referenced by parser::global_search(), parser::parse_info_map(), and parser_node().

static void info_to_html ( QString &  text)
static

Definition at line 374 of file parser.cc.

References replace_colons(), and replace_links().

Referenced by parser::node_text_to_html().

static QString parser_node ( const QString &  text,
const QString &  node_name 
)
static
static void replace ( QString &  text,
const QRegExp &  re,
const QString &  after 
)
static
static void replace_colons ( QString &  text)
static

Definition at line 357 of file parser.cc.

References f.

Referenced by info_to_html().

static void replace_links ( QString &  text)
static

Definition at line 303 of file parser.cc.

References f.

Referenced by info_to_html().