diff options
Diffstat (limited to 'Sil/Syntax.dcl')
-rw-r--r-- | Sil/Syntax.dcl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Sil/Syntax.dcl b/Sil/Syntax.dcl index 42097c5..1aa0c8b 100644 --- a/Sil/Syntax.dcl +++ b/Sil/Syntax.dcl @@ -84,6 +84,15 @@ instance allStatements Function instance allStatements CodeBlock instance allStatements Statement +class allCodeBlocks a :: a -> [CodeBlock] +instance allCodeBlocks Function +instance allCodeBlocks CodeBlock +instance allCodeBlocks Statement + +class allLocals a :: a -> [(Type, Name)] +instance allLocals Function +instance allLocals CodeBlock + /** * Size of an expression on the stack */ |