ARB
Public Member Functions | List of all members
SimpleLocation Class Reference
Inheritance diagram for SimpleLocation:
Inheritance graph
[legend]
Collaboration diagram for SimpleLocation:
Collaboration graph
[legend]

Public Member Functions

 SimpleLocation (long p1, long p2, char u1, char u2)
 
 SimpleLocation (long p, char u)
 
int count () const OVERRIDE
 
LocationJoinType getJoinType () const OVERRIDE
 
bool isInRange (long p1, long p2) const OVERRIDE
 
void save (GEN_position *pos, bool complementary) const OVERRIDE
 
string as_string () const OVERRIDE
 
- Public Member Functions inherited from Location
 Location ()
 
 Location (int linenr_, const char *path_)
 
 Location (const Location &other)
 
Locationoperator= (const Location &other)
 
 ~Location ()
 
bool valid () const
 
const charget_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
 
Locationoperator++ ()
 
bool operator== (const Location &other) const
 
bool operator!= (const Location &other) const
 
 Location ()
 
virtual ~Location ()
 
GEN_positioncreate_GEN_position () const
 
- Public Member Functions inherited from Noncopyable
 Noncopyable ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Location
static const Locationguess_pc ()
 
static void announce_exit_pc (const Location &exitingHere)
 
static int get_error_count ()
 

Detailed Description

Definition at line 28 of file Location.cxx.

Constructor & Destructor Documentation

SimpleLocation::SimpleLocation ( long  p1,
long  p2,
char  u1,
char  u2 
)
inline

Definition at line 41 of file Location.cxx.

References arb_assert.

SimpleLocation::SimpleLocation ( long  p,
char  u 
)
inline

Definition at line 46 of file Location.cxx.

References arb_assert.

Member Function Documentation

int SimpleLocation::count ( ) const
inlinevirtual

Implements Location.

Definition at line 52 of file Location.cxx.

LocationJoinType SimpleLocation::getJoinType ( ) const
inlinevirtual

Implements Location.

Definition at line 53 of file Location.cxx.

References LJT_NOT_JOINED.

bool SimpleLocation::isInRange ( long  p1,
long  p2 
) const
inlinevirtual

Implements Location.

Definition at line 54 of file Location.cxx.

References arb_assert.

void SimpleLocation::save ( GEN_position pos,
bool  complementary 
) const
inlinevirtual

Implements Location.

Definition at line 58 of file Location.cxx.

References pos1, and pos2.

string SimpleLocation::as_string ( ) const
inlinevirtual

Implements Location.

Definition at line 70 of file Location.cxx.

References GBS_global_string(), and s.


The documentation for this class was generated from the following file: