Lines Matching refs:parseState
61 type parseState struct { struct
70 func (ps *parseState) pushVariable(v Variable) { argument
81 func (ps *parseState) pushString(s string) { argument
89 type stateFunc func(*parseState, int, rune) (stateFunc, error)
108 parseState := &parseState{
118 state, err = state(parseState, i, r)
124 _, err = state(parseState, len(parseState.str), eof)
132 func parseFirstRuneState(state *parseState, i int, r rune) (stateFunc, error) { argument
139 func parseStringState(state *parseState, i int, r rune) (stateFunc, error) { argument
154 func parseDollarStartState(state *parseState, i int, r rune) (stateFunc, error) { argument
186 func parseDollarState(state *parseState, i int, r rune) (stateFunc, error) { argument
235 func parseBracketsState(state *parseState, i int, r rune) (stateFunc, error) { argument