ARB
|
#include <aisc_location.h>
Public Member Functions | |
Location () | |
Location (int linenr_, const char *path_) | |
Location (const Location &other) | |
Location & | operator= (const Location &other) |
~Location () | |
bool | valid () const |
const char * | get_path () const |
int | get_linenr () const |
void | print_error_internal (const char *err, const char *launcher_file, int launcher_line) const |
void | print_warning_internal (const char *msg, const char *launcher_file, int launcher_line) const |
void | start_message (const char *prefix) const |
Location & | operator++ () |
bool | operator== (const Location &other) const |
bool | operator!= (const Location &other) const |
Location () | |
virtual | ~Location () |
virtual int | count () const =0 |
virtual bool | isInRange (long pos1, long pos2) const =0 |
virtual void | save (GEN_position *into, bool complementary) const =0 |
virtual LocationJoinType | getJoinType () const =0 |
virtual std::string | as_string () const =0 |
GEN_position * | create_GEN_position () const |
Public Member Functions inherited from Noncopyable | |
Noncopyable () | |
Static Public Member Functions | |
static const Location & | guess_pc () |
static void | announce_exit_pc (const Location &exitingHere) |
static int | get_error_count () |
Definition at line 12 of file aisc_location.h.
|
inline |
Definition at line 30 of file aisc_location.h.
Definition at line 31 of file aisc_location.h.
|
inline |
Definition at line 33 of file aisc_location.h.
|
inline |
Definition at line 40 of file aisc_location.h.
|
inline |
Definition at line 44 of file Location.h.
|
inlinevirtual |
Definition at line 45 of file Location.h.
Definition at line 35 of file aisc_location.h.
|
inline |
Definition at line 42 of file aisc_location.h.
References NULp.
Referenced by guess_pc(), operator++(), and operator==().
|
inline |
Definition at line 44 of file aisc_location.h.
Referenced by Parser::get_sourcename().
|
inline |
Definition at line 45 of file aisc_location.h.
Referenced by Parser::get_sourceline(), and Parser::parse_program().
|
inline |
Definition at line 47 of file aisc_location.h.
Referenced by Code::print_error_internal().
|
inline |
Definition at line 51 of file aisc_location.h.
Referenced by Code::print_warning_internal().
|
inline |
Definition at line 54 of file aisc_location.h.
References NULp.
Referenced by NamedCommand::check_result().
|
static |
Definition at line 17 of file aisc_commands.c.
References Interpreter::at(), Interpreter::instance, Code::source, and valid().
|
inlinestatic |
Definition at line 59 of file aisc_location.h.
|
inlinestatic |
Definition at line 61 of file aisc_location.h.
Referenced by Interpreter::launch().
|
inline |
Definition at line 63 of file aisc_location.h.
References aisc_assert, and valid().
|
inline |
Definition at line 68 of file aisc_location.h.
References valid().
|
inline |
Definition at line 72 of file aisc_location.h.
|
pure virtual |
Implemented in ComplementLocation, JoinedLocation, and SimpleLocation.
Referenced by ComplementLocation::count().
Implemented in ComplementLocation, JoinedLocation, and SimpleLocation.
Referenced by Feature::expectLocationInSequence(), and ComplementLocation::isInRange().
|
pure virtual |
Implemented in ComplementLocation, JoinedLocation, and SimpleLocation.
Referenced by ComplementLocation::save().
|
pure virtual |
Implemented in ComplementLocation, JoinedLocation, and SimpleLocation.
Referenced by ComplementLocation::getJoinType(), and JoinedLocation::push_back().
|
pure virtual |
Implemented in ComplementLocation, JoinedLocation, and SimpleLocation.
Referenced by ComplementLocation::as_string(), and update_location_from_GEN_position().
GEN_position * Location::create_GEN_position | ( | ) | const |
Definition at line 309 of file Location.cxx.
References arb_assert, GEN_new_position(), GEN_use_uncertainties(), LJT_JOIN, and GEN_position::parts.
Referenced by GLE_update_from_location(), and DBwriter::writeFeature().