ROSE
0.11.145.147
src
frontend
SageIII
grammarBaseClass.h
1
// grammarBaseClass.h -- header file for the base class of all grammars
2
3
#ifndef BASE_GRAMMAR_H
4
#define BASE_GRAMMAR_H
5
6
// class SgFile;
7
8
class
ROSE_BaseGrammar
9
{
10
// This class for a base class for all grammars
11
12
public
:
13
14
ROSE_BaseGrammar
();
15
16
// Experimental interface
17
// ROSE_BaseGrammar ( SgFile *file );
18
// SgFile* getProgramFile();
19
20
void
setParentGrammar (
ROSE_BaseGrammar
* Xptr );
21
ROSE_BaseGrammar
* getParentGrammar ()
const
;
22
23
// Only one grammar is the root of all others
24
bool
isRootGrammar()
const
;
25
26
private
:
27
ROSE_BaseGrammar
* parentGrammar;
28
29
// ROSE_BaseGrammar ();
30
ROSE_BaseGrammar
(
const
ROSE_BaseGrammar
& X );
31
ROSE_BaseGrammar
& operator= (
const
ROSE_BaseGrammar
& X );
32
};
33
34
#endif
// ifndef BASE_GRAMMAR_H
35
ROSE_BaseGrammar
Definition
grammarBaseClass.h:9
Generated on Mon Sep 30 2024 03:24:53 for ROSE by
1.9.8