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

Public Member Functions

 JoinedLocation (LocationJoinType jtype)
 
void push_back (const LocationPtr &loc)
 
LocationJoinType getJoinType () const OVERRIDE
 
int count () 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 84 of file Location.cxx.

Constructor & Destructor Documentation

JoinedLocation::JoinedLocation ( LocationJoinType  jtype)
inline

Definition at line 89 of file Location.cxx.

Member Function Documentation

void JoinedLocation::push_back ( const LocationPtr loc)
inline

Definition at line 91 of file Location.cxx.

References Location::getJoinType(), and LJT_NOT_JOINED.

Referenced by parseLocation().

LocationJoinType JoinedLocation::getJoinType ( ) const
inlinevirtual

Implements Location.

Definition at line 99 of file Location.cxx.

int JoinedLocation::count ( ) const
inlinevirtual

Implements Location.

Definition at line 100 of file Location.cxx.

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

Implements Location.

Definition at line 110 of file Location.cxx.

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

Implements Location.

Definition at line 120 of file Location.cxx.

string JoinedLocation::as_string ( ) const
inlinevirtual

Implements Location.

Definition at line 134 of file Location.cxx.

References LJT_JOIN, and LJT_ORDER.


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