libmya 0.1.0
Library to parse Mya language.
Loading...
Searching...
No Matches
keywords.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef enum keyword keyword_t
 

Enumerations

enum  keyword {
  KEY_BITFIELD = 0 ,
  KEY_IMMEDIATE ,
  KEY_INCLUDE ,
  KEY_INST ,
  KEY_REGISTER ,
  KEY_SET
}
 

Variables

const char * mya_keywords []
 

Typedef Documentation

◆ keyword_t

typedef enum keyword keyword_t

Enumeration Type Documentation

◆ keyword

enum keyword
Enumerator
KEY_BITFIELD 
KEY_IMMEDIATE 
KEY_INCLUDE 
KEY_INST 
KEY_REGISTER 
KEY_SET 

Definition at line 3 of file keywords.h.

4{
5 KEY_BITFIELD = 0,
10 KEY_SET,
11} keyword_t;
@ KEY_INST
Definition keywords.h:8
@ KEY_IMMEDIATE
Definition keywords.h:6
@ KEY_SET
Definition keywords.h:10
@ KEY_BITFIELD
Definition keywords.h:5
@ KEY_REGISTER
Definition keywords.h:9
@ KEY_INCLUDE
Definition keywords.h:7
enum keyword keyword_t

Variable Documentation

◆ mya_keywords

const char* mya_keywords[]
extern

Definition at line 10 of file globals.c.

10 {
11 [KEY_BITFIELD] = "bitfield",
12 // clang-format hates me.
13 [KEY_IMMEDIATE] = "immediate",
14 [KEY_INCLUDE] = "include",
15 [KEY_INST] = "inst",
16 [KEY_REGISTER] = "register",
17 [KEY_SET] = "set",
18 NULL,
19};