Implemented block instruction parsing
This commit is contained in:
parent
a9d43a8716
commit
121f77fe76
6 changed files with 70 additions and 13 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue