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

Public Member Functions

 ComplementLocation (const LocationPtr &loc)
 
int count () const OVERRIDE
 
bool isInRange (long p1, long p2) const OVERRIDE
 
void save (GEN_position *pos, bool complementary) const OVERRIDE
 
LocationJoinType getJoinType () 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 157 of file Location.cxx.

Constructor & Destructor Documentation

ComplementLocation::ComplementLocation ( const LocationPtr loc)
inline

Definition at line 160 of file Location.cxx.

Member Function Documentation

int ComplementLocation::count ( ) const
inlinevirtual

Implements Location.

Definition at line 162 of file Location.cxx.

References Location::count().

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

Implements Location.

Definition at line 163 of file Location.cxx.

References Location::isInRange().

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

Implements Location.

Definition at line 164 of file Location.cxx.

References Location::save().

LocationJoinType ComplementLocation::getJoinType ( ) const
inlinevirtual

Implements Location.

Definition at line 165 of file Location.cxx.

References Location::getJoinType().

string ComplementLocation::as_string ( ) const
inlinevirtual

Implements Location.

Definition at line 166 of file Location.cxx.

References Location::as_string(), and string().


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