KiCad PCB EDA Suite
KEYWORD Struct Reference

Struct KEYWORD holds a keyword string and its unique integer token. More...

#include <dsnlexer.h>

Public Attributes

const char * name
 unique keyword. More...
 
int token
 a zero based index into an array of KEYWORDs More...
 

Detailed Description

Struct KEYWORD holds a keyword string and its unique integer token.

Definition at line 40 of file dsnlexer.h.

Member Data Documentation

const char* KEYWORD::name

unique keyword.

Definition at line 42 of file dsnlexer.h.

Referenced by DSNLEXER::GetTokenText(), DSNLEXER::init(), and PCB_PLOT_PARAMS_LEXER::TokenName().

int KEYWORD::token

a zero based index into an array of KEYWORDs

Definition at line 43 of file dsnlexer.h.

Referenced by DSNLEXER::init().


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