decoder [WIP]

Signed-off-by: Alejandro Mery <amery@jpi.io>
This commit is contained in:
2023-09-01 22:43:36 +00:00
parent 754642e98f
commit da009aae4f
3 changed files with 106 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
package ini
import (
"log"
"asciigoat.org/core/lexer"
"asciigoat.org/ini/parser"
)
func (*Decoder[T]) parserOnToken(pos lexer.Position, typ parser.TokenType, value string) error {
log.Printf("%s: %s %s %q", "ini", pos, typ, value)
return nil
}