1
0
Fork 0

Parser mock

This commit is contained in:
Gregory Eremin 2015-02-16 16:02:49 +07:00
parent a02ba712b8
commit 171e581366
1 changed files with 19 additions and 0 deletions

19
parser/parser.go Normal file
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,
}
}