Parser mock

This commit is contained in:
2015-02-16 16:02:49 +07:00
parent a02ba712b8
commit 171e581366
+19
View File
@@ -0,0 +1,19 @@
package parser
import (
"github.com/localhots/punk/lexer"
)
type (
Parser struct {
lex *lexer.Lexer
selector string
}
)
func New(lex *lexer.Lexer, selector string) {
return &Parser{
lex: lex,
selector: selector,
}
}