Implemented block instruction parsing

This commit is contained in:
Eduard Urbach 2024-06-24 00:03:26 +02:00
parent a9d43a8716
commit 121f77fe76
Signed by: eduard
GPG key ID: 49226B848C78F6C8
6 changed files with 70 additions and 13 deletions

View file

@ -11,8 +11,8 @@ type Token struct {
Bytes []byte
}
// After returns the position after the token.
func (t *Token) After() int {
// End returns the position after the token.
func (t *Token) End() int {
return t.Position + len(t.Bytes)
}