OpenStructure
|
#include <python_context_parser.hh>
Public Member Functions | |
PythonContext () | |
~PythonContext () | |
bool | IsRoot () const |
const Range & | GetRange () const |
const std::vector< PythonContext * > & | GetSubContexts () const |
void | SetRange (const Range &range) |
const PythonContext * | GetParent () const |
void | AddToken (const PythonToken &token) |
void | Print () |
bool | FindLastToken (PythonToken::Type type, const QString &value, PythonToken &token) |
bool | FindFirstToken (PythonToken::Type type, const QString &value, PythonToken &token) |
void | AddContext (PythonContext *context) |
bool | GetContextAtLocation (size_t location, PythonContext *&context) |
void | Clear () |
Definition at line 33 of file python_context_parser.hh.
|
inline |
Definition at line 36 of file python_context_parser.hh.
|
inline |
Definition at line 40 of file python_context_parser.hh.
|
inline |
Definition at line 81 of file python_context_parser.hh.
|
inline |
Definition at line 60 of file python_context_parser.hh.
void Clear | ( | ) |
bool FindFirstToken | ( | PythonToken::Type | type, |
const QString & | value, | ||
PythonToken & | token | ||
) |
bool FindLastToken | ( | PythonToken::Type | type, |
const QString & | value, | ||
PythonToken & | token | ||
) |
bool GetContextAtLocation | ( | size_t | location, |
PythonContext *& | context | ||
) |
|
inline |
Definition at line 57 of file python_context_parser.hh.
|
inline |
Definition at line 48 of file python_context_parser.hh.
|
inline |
Definition at line 51 of file python_context_parser.hh.
|
inline |
Definition at line 43 of file python_context_parser.hh.
|
inline |
Definition at line 66 of file python_context_parser.hh.
|
inline |
Definition at line 54 of file python_context_parser.hh.