Code Listener  [unstable] git snapshot
Data Fields
cl_loc Struct Reference

generic location info. More...

#include <code_listener.h>

Data Fields

const char * file
 input file as zero-terminated string. More...
 
int line
 line number in the input file (starting at 1). More...
 
int column
 column number in the input file (starting at 1). More...
 
bool sysp
 true, if the token is located in a system header. More...
 

Detailed Description

generic location info.

Note
taken from gcc's expanded_location defined in <gcc/input.h>

Definition at line 38 of file code_listener.h.

Field Documentation

int column

column number in the input file (starting at 1).

Definition at line 53 of file code_listener.h.

Referenced by operator<<().

const char* file

input file as zero-terminated string.

If NULL, the location info is either invalid or not available.

Definition at line 43 of file code_listener.h.

Referenced by operator<<().

int line

line number in the input file (starting at 1).

Definition at line 48 of file code_listener.h.

Referenced by operator<<().

bool sysp

true, if the token is located in a system header.

Note
not used for now

Definition at line 59 of file code_listener.h.


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