Implemented environment type
This commit is contained in:
parent
1268344238
commit
96ac298980
15 changed files with 67 additions and 51 deletions
13
src/core/count.go
Normal file
13
src/core/count.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
package core
|
||||
|
||||
type counter = uint16
|
||||
|
||||
// count stores how often a certain statement appeared so we can generate a unique label from it.
|
||||
type count struct {
|
||||
assert counter
|
||||
branch counter
|
||||
multiBranch counter
|
||||
data counter
|
||||
loop counter
|
||||
subBranch counter
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue