diff options
author | bd-912 <bdunahu@colostate.edu> | 2024-04-17 01:33:05 -0600 |
---|---|---|
committer | bd-912 <bdunahu@colostate.edu> | 2024-04-17 01:33:05 -0600 |
commit | 62178e370f21ddf80766b8e1075c55e0d3945493 (patch) | |
tree | 13fcfc0d7177e578020366e905b71ca48e0857f0 /vaporize/library/CFGSimp.java | |
parent | f08708ee07931db592ffb76c073bd80bcf6cf060 (diff) |
CFG Skeleton Files
Diffstat (limited to 'vaporize/library/CFGSimp.java')
-rw-r--r-- | vaporize/library/CFGSimp.java | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/vaporize/library/CFGSimp.java b/vaporize/library/CFGSimp.java new file mode 100644 index 0000000..372f926 --- /dev/null +++ b/vaporize/library/CFGSimp.java @@ -0,0 +1,48 @@ +package vaporize.library; + +import cs132.vapor.ast.*; +import st.*; +import misc.*; +import java.util.*; + +public class CFGSimp<P, R> extends VInstr.VisitorPR<P, R, RuntimeException> { + + ControlFlowGraph cfg; + + public CFGSimp(ControlFlowGraph cfg) { + this.cfg = cfg; + } + + public R visit(P p, VMemRead n) throws RuntimeException { + return null; + } + + public R visit(P p, VMemWrite n) throws RuntimeException { + return null; + } + + public R visit(P p, VAssign n) throws RuntimeException { + return null; + } + + public R visit(P p, VBranch n) throws RuntimeException { + return null; + } + + public R visit(P p, VGoto n) throws RuntimeException { + return null; + } + + public R visit(P p, VCall n) throws RuntimeException { + return null; + } + + public R visit(P p, VBuiltIn n) throws RuntimeException { + return null; + } + + public R visit(P p, VReturn n) throws RuntimeException { + return null; + } + +} |