Ruby  2.5.0dev(2017-10-22revision60238)
Data Structures | Macros | Functions
eventids2.c File Reference
#include "eventids2table.c"

Go to the source code of this file.

Data Structures

struct  ripper_scanner_ids_t
 
struct  token_assoc
 

Macros

#define tIGNORED_NL   (tLAST_TOKEN + 1)
 
#define tCOMMENT   (tLAST_TOKEN + 2)
 
#define tEMBDOC_BEG   (tLAST_TOKEN + 3)
 
#define tEMBDOC   (tLAST_TOKEN + 4)
 
#define tEMBDOC_END   (tLAST_TOKEN + 5)
 
#define tSP   (tLAST_TOKEN + 6)
 
#define tHEREDOC_BEG   (tLAST_TOKEN + 7)
 
#define tHEREDOC_END   (tLAST_TOKEN + 8)
 
#define k__END__   (tLAST_TOKEN + 9)
 
#define set_id2(name)   ripper_scanner_ids.ripper_id_##name = rb_intern_const("on_"#name)
 
#define O(member)   (int)offsetof(ripper_scanner_ids_t, ripper_id_##member)
 

Functions

 STATIC_ASSERT (k__END___range, k__END__< SHRT_MAX)
 
 STATIC_ASSERT (ripper_scanner_ids_size, sizeof(ripper_scanner_ids)< SHRT_MAX)
 

Macro Definition Documentation

◆ k__END__

#define k__END__   (tLAST_TOKEN + 9)

Definition at line 9 of file eventids2.c.

◆ O

#define O (   member)    (int)offsetof(ripper_scanner_ids_t, ripper_id_##member)

Definition at line 130 of file eventids2.c.

◆ set_id2

#define set_id2 (   name)    ripper_scanner_ids.ripper_id_##name = rb_intern_const("on_"#name)

◆ tCOMMENT

#define tCOMMENT   (tLAST_TOKEN + 2)

Definition at line 2 of file eventids2.c.

◆ tEMBDOC

#define tEMBDOC   (tLAST_TOKEN + 4)

Definition at line 4 of file eventids2.c.

◆ tEMBDOC_BEG

#define tEMBDOC_BEG   (tLAST_TOKEN + 3)

Definition at line 3 of file eventids2.c.

◆ tEMBDOC_END

#define tEMBDOC_END   (tLAST_TOKEN + 5)

Definition at line 5 of file eventids2.c.

◆ tHEREDOC_BEG

#define tHEREDOC_BEG   (tLAST_TOKEN + 7)

Definition at line 7 of file eventids2.c.

◆ tHEREDOC_END

#define tHEREDOC_END   (tLAST_TOKEN + 8)

Definition at line 8 of file eventids2.c.

◆ tIGNORED_NL

#define tIGNORED_NL   (tLAST_TOKEN + 1)

Definition at line 1 of file eventids2.c.

◆ tSP

#define tSP   (tLAST_TOKEN + 6)

Definition at line 6 of file eventids2.c.

Function Documentation

◆ STATIC_ASSERT() [1/2]

STATIC_ASSERT ( k__END___range  )

◆ STATIC_ASSERT() [2/2]

STATIC_ASSERT ( ripper_scanner_ids_size  )