Parser mock
This commit is contained in:
parent
a02ba712b8
commit
171e581366
|
@ -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,
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue