[go: up one dir, main page]

File: lexer.h

package info (click to toggle)
findent 3.1.7-1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 2,176 kB
  • sloc: sh: 4,746; cpp: 4,049; fortran: 1,565; pascal: 1,204; lex: 533; yacc: 305; makefile: 179; python: 155; lisp: 52
file content (32 lines) | stat: -rw-r--r-- 533 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef LEXER_H
#define LEXER_H

#include "line_prep.h"

void yyerror(const char *c);

extern "C" int yylex();

void lexer_enable(const int k);

void lexer_set(Line_prep p, const int state);

void lexer_set(const std::string &s, const int state);

std::string lexer_getname(void);

std::string lexer_getstlabel(void);

std::string lexer_geti_number(void);

std::string lexer_getinclude(void);

std::string lexer_getrest(void);

std::string lexer_getstring(void);

std::string lexer_getlr(void);

void extract_include(void); 

#endif