]>
git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/sorcerer/h/SCommonAST.h
8 /* If you use SORCERER alone, you can subclass this to get a nice tree def */
10 class SORCommonAST
: public SORASTBase
{
12 SORCommonAST
*_right
, *_down
;
16 SORCommonAST() { _right
= _down
= NULL
; }
17 PCCTS_AST
*right() { return _right
; } // define the SORCERER interface
18 PCCTS_AST
*down() { return _down
; }
19 int type() { return _type
; }
20 void setRight(PCCTS_AST
*t
) { _right
= (SORCommonAST
*)t
; }
21 void setDown(PCCTS_AST
*t
) { _down
= (SORCommonAST
*)t
; }
22 void setType(int t
) { _type
= t
; }
23 virtual PCCTS_AST
*shallowCopy() {return NULL
;}