Skip to content

Commit 14921b6

Browse files
committed
Add a "type" node type and edge flow.
github.com//issues/82 Signed-off-by: format 2020.06.15 <github.com/ChrisCummins/format>
1 parent 8943d98 commit 14921b6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

programl/proto/edge.proto

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ message Edge {
3838
CONTROL = 0;
3939
DATA = 1;
4040
CALL = 2;
41+
TYPE = 3;
4142
}
4243
Flow flow = 1;
4344
int32 position = 2;

programl/proto/node.proto

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ message Node {
3434
INSTRUCTION = 0;
3535
VARIABLE = 1;
3636
CONSTANT = 2;
37+
TYPE = 3;
3738
}
3839
Type type = 1;
3940
// The text of a node. This is the raw representation of a node, such as the

0 commit comments

Comments
 (0)