KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dsnlexer.h File Reference
#include <kicommon.h>
#include <cstdio>
#include <hashtables.h>
#include <string>
#include <vector>
#include <richio.h>

Go to the source code of this file.

Classes

struct  KEYWORD
 Hold a keyword string and its unique integer token. More...
 
class  DSNLEXER
 Implement a lexical analyzer for the SPECCTRA DSN file format. More...
 

Enumerations

enum  DSN_SYNTAX_T {
  DSN_NONE = -12 , DSN_BAR = -11 , DSN_COMMENT = -10 , DSN_STRING_QUOTE = -9 ,
  DSN_QUOTE_DEF = -8 , DSN_DASH = -7 , DSN_SYMBOL = -6 , DSN_NUMBER = -5 ,
  DSN_RIGHT = -4 , DSN_LEFT = -3 , DSN_STRING = -2 , DSN_EOF = -1
}
 List all the DSN lexer's tokens that are supported in lexing. More...
 

Enumeration Type Documentation

◆ DSN_SYNTAX_T

List all the DSN lexer's tokens that are supported in lexing.

It is up to the parser if it wants also to support them.

Enumerator
DSN_NONE 
DSN_BAR 
DSN_COMMENT 
DSN_STRING_QUOTE 
DSN_QUOTE_DEF 
DSN_DASH 
DSN_SYMBOL 
DSN_NUMBER 
DSN_RIGHT 
DSN_LEFT 
DSN_STRING 
DSN_EOF 

Definition at line 58 of file dsnlexer.h.