// UsingSelf is like Using, but uses the current Lexer.
UsingSelf is like Using, but uses the current Lexer.
// UsingSelf is like Using but uses the current Lexer .
func UsingSelf(state string) Emitter {
	return EmitterFunc(func(groups []string, lexer Lexer) Iterator {
		it, err := lexer.Tokenise(&TokeniseOptions{State: state, Nested: true}, groups[0])
		if err != nil {
			panic(err)
		}
		return it
	})
}
func UsingSelf ( state string ) Emitter { return EmitterFunc ( func ( groups [ ] string , lexer Lexer ) Iterator { it , err := lexer . Tokenise ( & TokeniseOptions { State : state , Nested : true } , groups [ 0 ] ) if err != nil { panic ( err ) } return it } ) }
UsingSelf is like Using, but uses the current Lexer.
UsingSelf is like Using but uses the current Lexer .