File: parse.h

package info (click to toggle)
aime 0.60.3-7
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 6,016 kB
  • ctags: 5,217
  • sloc: cpp: 77,611; ansic: 3,765; sh: 2,996; makefile: 234; sed: 93
file content (37 lines) | stat: -rw-r--r-- 479 bytes parent folder | download | duplicates (3)
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
33
34
35
36
37
#ifndef _PARSE_H
#define _PARSE_H

#include "strings.h"
#include "verb.h"

class Action;

class Parse
{
 public:

   Parse();
   Parse(char *the_input, Entity *the_verb);
   ~Parse();

   char *get_verb();
   char *get_target1();
   char *get_target2();
   char *get_preposition();
   char *get_speech();
   int  get_number();

 private:
   Entity *the_command;
   Strings target1;
   Strings preposition;
   Strings target2;
   Strings speech;
   int     number;


};

#endif