Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Parser.h
Go to the documentation of this file.
1
/* Project nGen
2
John DiCamillo Software Consulting
3
Copyright © 1997-2004. All Rights Reserved.
4
5
SUBSYSTEM: parser
6
FILE: parser.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
Declaration of the generic Parser class
13
*/
14
15
#ifndef PARSER_H
16
#define PARSER_H
17
18
#include "
text.h
"
19
#include "
term.h
"
20
21
// +-------------------------------------------------------------------+
22
23
class
Reader
;
24
class
Scanner
;
25
26
// +-------------------------------------------------------------------+
27
28
class
Parser
29
{
30
public
:
31
Parser
(
Reader
* r = 0);
32
~Parser
();
33
34
Term
*
ParseTerm
();
35
Term
*
ParseTermBase
();
36
Term
*
ParseTermRest
(
Term
* base);
37
TermList
*
ParseTermList
(
int
for_struct);
38
TermArray
*
ParseArray
();
39
TermStruct
*
ParseStruct
();
40
41
private
:
42
Reader
* reader;
43
Scanner
* lexer;
44
};
45
46
#endif
Parser
Parser.h
Generated on Tue Jun 5 2012 20:46:43 for Starshatter_Open by
1.8.1