github.com/jmespath/go-jmespath.Parser.current (method)

23 uses

	github.com/jmespath/go-jmespath (current package)
		parser.go#L138: 	if p.current() != tEOF {
		parser.go#L140: 			"Unexpected token at the end of the expression: %s", p.current()))
		parser.go#L153: 	currentToken := p.current()
		parser.go#L160: 		currentToken = p.current()
		parser.go#L185: 	current := p.current()
		parser.go#L199: 				"Expected tColon or tNumber" + ", received: " + p.current().String())
		parser.go#L201: 		current = p.current()
		parser.go#L213: 	if p.current() == tokenType {
		parser.go#L217: 	return p.syntaxError("Expected " + tokenType.String() + ", received: " + p.current().String())
		parser.go#L223: 		if p.current() != tStar {
		parser.go#L248: 		for p.current() != tRparen {
		parser.go#L253: 			if p.current() == tComma {
		parser.go#L288: 		tokenType := p.current()
		parser.go#L335: 		if p.current() == tLparen {
		parser.go#L343: 		if p.current() == tRbracket {
		parser.go#L364: 		tokenType := p.current()
		parser.go#L424: 		if p.current() == tRbracket {
		parser.go#L466: 		if p.current() == tComma {
		parser.go#L471: 		} else if p.current() == tRbrace {
		parser.go#L509: 	if p.current() == tFlatten {
		parser.go#L525: 	lookahead := p.current()
		parser.go#L543: 	current := p.current()
		parser.go#L565: func (p *Parser) current() tokType {