#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.
| PythonContext | ( | ) | [inline] |
Definition at line 36 of file python_context_parser.hh.
| ~PythonContext | ( | ) | [inline] |
Definition at line 40 of file python_context_parser.hh.
| void AddContext | ( | PythonContext * | context | ) | [inline] |
Definition at line 81 of file python_context_parser.hh.
| void AddToken | ( | const PythonToken & | token | ) | [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 | |||
| ) |
| const PythonContext* GetParent | ( | ) | const [inline] |
Definition at line 57 of file python_context_parser.hh.
| const Range& GetRange | ( | ) | const [inline] |
Definition at line 48 of file python_context_parser.hh.
| const std::vector<PythonContext*>& GetSubContexts | ( | ) | const [inline] |
Definition at line 51 of file python_context_parser.hh.
| bool IsRoot | ( | ) | const [inline] |
Definition at line 43 of file python_context_parser.hh.
| void Print | ( | ) | [inline] |
Definition at line 66 of file python_context_parser.hh.
| void SetRange | ( | const Range & | range | ) | [inline] |
Definition at line 54 of file python_context_parser.hh.
1.6.1