Trait nom::sequence::Tuple [−][src]
helper trait for the tuple combinator
this trait is implemented for tuples of parsers of up to 21 elements
Required methods
fn parse(&self, input: I) -> IResult<I, O, E>
[src]
parses the input and returns a tuple of results of each parser
Implementations on Foreign Types
impl<Input, Output, Error: ParseError<Input>, F: Fn(Input) -> IResult<Input, Output, Error>> Tuple<Input, (Output,), Error> for (F,)
[src]
impl<Input: Clone, A, B, Error: ParseError<Input>, FnA: Fn(Input) -> IResult<Input, A, Error>, FnB: Fn(Input) -> IResult<Input, B, Error>> Tuple<Input, (A, B), Error> for (FnA, FnB)
[src]
impl<Input: Clone, A, B, C, Error: ParseError<Input>, FnA: Fn(Input) -> IResult<Input, A, Error>, FnB: Fn(Input) -> IResult<Input, B, Error>, FnC: Fn(Input) -> IResult<Input, C, Error>> Tuple<Input, (A, B, C), Error> for (FnA, FnB, FnC)
[src]
impl<Input: Clone, A, B, C, D, Error: ParseError<Input>, FnA: Fn(Input) -> IResult<Input, A, Error>, FnB: Fn(Input) -> IResult<Input, B, Error>, FnC: Fn(Input) -> IResult<Input, C, Error>, FnD: Fn(Input) -> IResult<Input, D, Error>> Tuple<Input, (A, B, C, D), Error> for (FnA, FnB, FnC, FnD)
[src]
impl<Input: Clone, A, B, C, D, E, Error: ParseError<Input>, FnA: Fn(Input) -> IResult<Input, A, Error>, FnB: Fn(Input) -> IResult<Input, B, Error>, FnC: Fn(Input) -> IResult<Input, C, Error>, FnD: Fn(Input) -> IResult<Input, D, Error>, FnE: Fn(Input) -> IResult<Input, E, Error>> Tuple<Input, (A, B, C, D, E), Error> for (FnA, FnB, FnC, FnD, FnE)
[src]
impl<Input: Clone, A, B, C, D, E, F, Error: ParseError<Input>, FnA: Fn(Input) -> IResult<Input, A, Error>, FnB: Fn(Input) -> IResult<Input, B, Error>, FnC: Fn(Input) -> IResult<Input, C, Error>, FnD: Fn(Input) -> IResult<Input, D, Error>, FnE: Fn(Input) -> IResult<Input, E, Error>, FnF: Fn(Input) -> IResult<Input, F, Error>> Tuple<Input, (A, B, C, D, E, F), Error> for (FnA, FnB, FnC, FnD, FnE, FnF)
[src]
impl<Input: Clone, A, B, C, D, E, F, G, Error: ParseError<Input>, FnA: Fn(Input) -> IResult<Input, A, Error>, FnB: Fn(Input) -> IResult<Input, B, Error>, FnC: Fn(Input) -> IResult<Input, C, Error>, FnD: Fn(Input) -> IResult<Input, D, Error>, FnE: Fn(Input) -> IResult<Input, E, Error>, FnF: Fn(Input) -> IResult<Input, F, Error>, FnG: Fn(Input) -> IResult<Input, G, Error>> Tuple<Input, (A, B, C, D, E, F, G), Error> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG)
[src]
impl<Input: Clone, A, B, C, D, E, F, G, H, Error: ParseError<Input>, FnA: Fn(Input) -> IResult<Input, A, Error>, FnB: Fn(Input) -> IResult<Input, B, Error>, FnC: Fn(Input) -> IResult<Input, C, Error>, FnD: Fn(Input) -> IResult<Input, D, Error>, FnE: Fn(Input) -> IResult<Input, E, Error>, FnF: Fn(Input) -> IResult<Input, F, Error>, FnG: Fn(Input) -> IResult<Input, G, Error>, FnH: Fn(Input) -> IResult<Input, H, Error>> Tuple<Input, (A, B, C, D, E, F, G, H), Error> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG, FnH)
[src]
impl<Input: Clone, A, B, C, D, E, F, G, H, I, Error: ParseError<Input>, FnA: Fn(Input) -> IResult<Input, A, Error>, FnB: Fn(Input) -> IResult<Input, B, Error>, FnC: Fn(Input) -> IResult<Input, C, Error>, FnD: Fn(Input) -> IResult<Input, D, Error>, FnE: Fn(Input) -> IResult<Input, E, Error>, FnF: Fn(Input) -> IResult<Input, F, Error>, FnG: Fn(Input) -> IResult<Input, G, Error>, FnH: Fn(Input) -> IResult<Input, H, Error>, FnI: Fn(Input) -> IResult<Input, I, Error>> Tuple<Input, (A, B, C, D, E, F, G, H, I), Error> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG, FnH, FnI)
[src]
impl<Input: Clone, A, B, C, D, E, F, G, H, I, J, Error: ParseError<Input>, FnA: Fn(Input) -> IResult<Input, A, Error>, FnB: Fn(Input) -> IResult<Input, B, Error>, FnC: Fn(Input) -> IResult<Input, C, Error>, FnD: Fn(Input) -> IResult<Input, D, Error>, FnE: Fn(Input) -> IResult<Input, E, Error>, FnF: Fn(Input) -> IResult<Input, F, Error>, FnG: Fn(Input) -> IResult<Input, G, Error>, FnH: Fn(Input) -> IResult<Input, H, Error>, FnI: Fn(Input) -> IResult<Input, I, Error>, FnJ: Fn(Input) -> IResult<Input, J, Error>> Tuple<Input, (A, B, C, D, E, F, G, H, I, J), Error> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG, FnH, FnI, FnJ)
[src]
impl<Input: Clone, A, B, C, D, E, F, G, H, I, J, K, Error: ParseError<Input>, FnA: Fn(Input) -> IResult<Input, A, Error>, FnB: Fn(Input) -> IResult<Input, B, Error>, FnC: Fn(Input) -> IResult<Input, C, Error>, FnD: Fn(Input) -> IResult<Input, D, Error>, FnE: Fn(Input) -> IResult<Input, E, Error>, FnF: Fn(Input) -> IResult<Input, F, Error>, FnG: Fn(Input) -> IResult<Input, G, Error>, FnH: Fn(Input) -> IResult<Input, H, Error>, FnI: Fn(Input) -> IResult<Input, I, Error>, FnJ: Fn(Input) -> IResult<Input, J, Error>, FnK: Fn(Input) -> IResult<Input, K, Error>> Tuple<Input, (A, B, C, D, E, F, G, H, I, J, K), Error> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG, FnH, FnI, FnJ, FnK)
[src]
impl<Input: Clone, A, B, C, D, E, F, G, H, I, J, K, L, Error: ParseError<Input>, FnA: Fn(Input) -> IResult<Input, A, Error>, FnB: Fn(Input) -> IResult<Input, B, Error>, FnC: Fn(Input) -> IResult<Input, C, Error>, FnD: Fn(Input) -> IResult<Input, D, Error>, FnE: Fn(Input) -> IResult<Input, E, Error>, FnF: Fn(Input) -> IResult<Input, F, Error>, FnG: Fn(Input) -> IResult<Input, G, Error>, FnH: Fn(Input) -> IResult<Input, H, Error>, FnI: Fn(Input) -> IResult<Input, I, Error>, FnJ: Fn(Input) -> IResult<Input, J, Error>, FnK: Fn(Input) -> IResult<Input, K, Error>, FnL: Fn(Input) -> IResult<Input, L, Error>> Tuple<Input, (A, B, C, D, E, F, G, H, I, J, K, L), Error> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG, FnH, FnI, FnJ, FnK, FnL)
[src]
impl<Input: Clone, A, B, C, D, E, F, G, H, I, J, K, L, M, Error: ParseError<Input>, FnA: Fn(Input) -> IResult<Input, A, Error>, FnB: Fn(Input) -> IResult<Input, B, Error>, FnC: Fn(Input) -> IResult<Input, C, Error>, FnD: Fn(Input) -> IResult<Input, D, Error>, FnE: Fn(Input) -> IResult<Input, E, Error>, FnF: Fn(Input) -> IResult<Input, F, Error>, FnG: Fn(Input) -> IResult<Input, G, Error>, FnH: Fn(Input) -> IResult<Input, H, Error>, FnI: Fn(Input) -> IResult<Input, I, Error>, FnJ: Fn(Input) -> IResult<Input, J, Error>, FnK: Fn(Input) -> IResult<Input, K, Error>, FnL: Fn(Input) -> IResult<Input, L, Error>, FnM: Fn(Input) -> IResult<Input, M, Error>> Tuple<Input, (A, B, C, D, E, F, G, H, I, J, K, L, M), Error> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG, FnH, FnI, FnJ, FnK, FnL, FnM)
[src]
fn parse(
&self,
input: Input
) -> IResult<Input, (A, B, C, D, E, F, G, H, I, J, K, L, M), Error>
[src]
&self,
input: Input
) -> IResult<Input, (A, B, C, D, E, F, G, H, I, J, K, L, M), Error>
impl<Input: Clone, A, B, C, D, E, F, G, H, I, J, K, L, M, N, Error: ParseError<Input>, FnA: Fn(Input) -> IResult<Input, A, Error>, FnB: Fn(Input) -> IResult<Input, B, Error>, FnC: Fn(Input) -> IResult<Input, C, Error>, FnD: Fn(Input) -> IResult<Input, D, Error>, FnE: Fn(Input) -> IResult<Input, E, Error>, FnF: Fn(Input) -> IResult<Input, F, Error>, FnG: Fn(Input) -> IResult<Input, G, Error>, FnH: Fn(Input) -> IResult<Input, H, Error>, FnI: Fn(Input) -> IResult<Input, I, Error>, FnJ: Fn(Input) -> IResult<Input, J, Error>, FnK: Fn(Input) -> IResult<Input, K, Error>, FnL: Fn(Input) -> IResult<Input, L, Error>, FnM: Fn(Input) -> IResult<Input, M, Error>, FnN: Fn(Input) -> IResult<Input, N, Error>> Tuple<Input, (A, B, C, D, E, F, G, H, I, J, K, L, M, N), Error> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG, FnH, FnI, FnJ, FnK, FnL, FnM, FnN)
[src]
fn parse(
&self,
input: Input
) -> IResult<Input, (A, B, C, D, E, F, G, H, I, J, K, L, M, N), Error>
[src]
&self,
input: Input
) -> IResult<Input, (A, B, C, D, E, F, G, H, I, J, K, L, M, N), Error>
impl<Input: Clone, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, Error: ParseError<Input>, FnA: Fn(Input) -> IResult<Input, A, Error>, FnB: Fn(Input) -> IResult<Input, B, Error>, FnC: Fn(Input) -> IResult<Input, C, Error>, FnD: Fn(Input) -> IResult<Input, D, Error>, FnE: Fn(Input) -> IResult<Input, E, Error>, FnF: Fn(Input) -> IResult<Input, F, Error>, FnG: Fn(Input) -> IResult<Input, G, Error>, FnH: Fn(Input) -> IResult<Input, H, Error>, FnI: Fn(Input) -> IResult<Input, I, Error>, FnJ: Fn(Input) -> IResult<Input, J, Error>, FnK: Fn(Input) -> IResult<Input, K, Error>, FnL: Fn(Input) -> IResult<Input, L, Error>, FnM: Fn(Input) -> IResult<Input, M, Error>, FnN: Fn(Input) -> IResult<Input, N, Error>, FnO: Fn(Input) -> IResult<Input, O, Error>> Tuple<Input, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O), Error> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG, FnH, FnI, FnJ, FnK, FnL, FnM, FnN, FnO)
[src]
fn parse(
&self,
input: Input
) -> IResult<Input, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O), Error>
[src]
&self,
input: Input
) -> IResult<Input, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O), Error>
impl<Input: Clone, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Error: ParseError<Input>, FnA: Fn(Input) -> IResult<Input, A, Error>, FnB: Fn(Input) -> IResult<Input, B, Error>, FnC: Fn(Input) -> IResult<Input, C, Error>, FnD: Fn(Input) -> IResult<Input, D, Error>, FnE: Fn(Input) -> IResult<Input, E, Error>, FnF: Fn(Input) -> IResult<Input, F, Error>, FnG: Fn(Input) -> IResult<Input, G, Error>, FnH: Fn(Input) -> IResult<Input, H, Error>, FnI: Fn(Input) -> IResult<Input, I, Error>, FnJ: Fn(Input) -> IResult<Input, J, Error>, FnK: Fn(Input) -> IResult<Input, K, Error>, FnL: Fn(Input) -> IResult<Input, L, Error>, FnM: Fn(Input) -> IResult<Input, M, Error>, FnN: Fn(Input) -> IResult<Input, N, Error>, FnO: Fn(Input) -> IResult<Input, O, Error>, FnP: Fn(Input) -> IResult<Input, P, Error>> Tuple<Input, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P), Error> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG, FnH, FnI, FnJ, FnK, FnL, FnM, FnN, FnO, FnP)
[src]
fn parse(
&self,
input: Input
) -> IResult<Input, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P), Error>
[src]
&self,
input: Input
) -> IResult<Input, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P), Error>
impl<Input: Clone, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, Error: ParseError<Input>, FnA: Fn(Input) -> IResult<Input, A, Error>, FnB: Fn(Input) -> IResult<Input, B, Error>, FnC: Fn(Input) -> IResult<Input, C, Error>, FnD: Fn(Input) -> IResult<Input, D, Error>, FnE: Fn(Input) -> IResult<Input, E, Error>, FnF: Fn(Input) -> IResult<Input, F, Error>, FnG: Fn(Input) -> IResult<Input, G, Error>, FnH: Fn(Input) -> IResult<Input, H, Error>, FnI: Fn(Input) -> IResult<Input, I, Error>, FnJ: Fn(Input) -> IResult<Input, J, Error>, FnK: Fn(Input) -> IResult<Input, K, Error>, FnL: Fn(Input) -> IResult<Input, L, Error>, FnM: Fn(Input) -> IResult<Input, M, Error>, FnN: Fn(Input) -> IResult<Input, N, Error>, FnO: Fn(Input) -> IResult<Input, O, Error>, FnP: Fn(Input) -> IResult<Input, P, Error>, FnQ: Fn(Input) -> IResult<Input, Q, Error>> Tuple<Input, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q), Error> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG, FnH, FnI, FnJ, FnK, FnL, FnM, FnN, FnO, FnP, FnQ)
[src]
fn parse(
&self,
input: Input
) -> IResult<Input, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q), Error>
[src]
&self,
input: Input
) -> IResult<Input, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q), Error>
impl<Input: Clone, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, Error: ParseError<Input>, FnA: Fn(Input) -> IResult<Input, A, Error>, FnB: Fn(Input) -> IResult<Input, B, Error>, FnC: Fn(Input) -> IResult<Input, C, Error>, FnD: Fn(Input) -> IResult<Input, D, Error>, FnE: Fn(Input) -> IResult<Input, E, Error>, FnF: Fn(Input) -> IResult<Input, F, Error>, FnG: Fn(Input) -> IResult<Input, G, Error>, FnH: Fn(Input) -> IResult<Input, H, Error>, FnI: Fn(Input) -> IResult<Input, I, Error>, FnJ: Fn(Input) -> IResult<Input, J, Error>, FnK: Fn(Input) -> IResult<Input, K, Error>, FnL: Fn(Input) -> IResult<Input, L, Error>, FnM: Fn(Input) -> IResult<Input, M, Error>, FnN: Fn(Input) -> IResult<Input, N, Error>, FnO: Fn(Input) -> IResult<Input, O, Error>, FnP: Fn(Input) -> IResult<Input, P, Error>, FnQ: Fn(Input) -> IResult<Input, Q, Error>, FnR: Fn(Input) -> IResult<Input, R, Error>> Tuple<Input, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R), Error> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG, FnH, FnI, FnJ, FnK, FnL, FnM, FnN, FnO, FnP, FnQ, FnR)
[src]
fn parse(
&self,
input: Input
) -> IResult<Input, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R), Error>
[src]
&self,
input: Input
) -> IResult<Input, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R), Error>
impl<Input: Clone, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, Error: ParseError<Input>, FnA: Fn(Input) -> IResult<Input, A, Error>, FnB: Fn(Input) -> IResult<Input, B, Error>, FnC: Fn(Input) -> IResult<Input, C, Error>, FnD: Fn(Input) -> IResult<Input, D, Error>, FnE: Fn(Input) -> IResult<Input, E, Error>, FnF: Fn(Input) -> IResult<Input, F, Error>, FnG: Fn(Input) -> IResult<Input, G, Error>, FnH: Fn(Input) -> IResult<Input, H, Error>, FnI: Fn(Input) -> IResult<Input, I, Error>, FnJ: Fn(Input) -> IResult<Input, J, Error>, FnK: Fn(Input) -> IResult<Input, K, Error>, FnL: Fn(Input) -> IResult<Input, L, Error>, FnM: Fn(Input) -> IResult<Input, M, Error>, FnN: Fn(Input) -> IResult<Input, N, Error>, FnO: Fn(Input) -> IResult<Input, O, Error>, FnP: Fn(Input) -> IResult<Input, P, Error>, FnQ: Fn(Input) -> IResult<Input, Q, Error>, FnR: Fn(Input) -> IResult<Input, R, Error>, FnS: Fn(Input) -> IResult<Input, S, Error>> Tuple<Input, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S), Error> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG, FnH, FnI, FnJ, FnK, FnL, FnM, FnN, FnO, FnP, FnQ, FnR, FnS)
[src]
fn parse(
&self,
input: Input
) -> IResult<Input, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S), Error>
[src]
&self,
input: Input
) -> IResult<Input, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S), Error>
impl<Input: Clone, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, Error: ParseError<Input>, FnA: Fn(Input) -> IResult<Input, A, Error>, FnB: Fn(Input) -> IResult<Input, B, Error>, FnC: Fn(Input) -> IResult<Input, C, Error>, FnD: Fn(Input) -> IResult<Input, D, Error>, FnE: Fn(Input) -> IResult<Input, E, Error>, FnF: Fn(Input) -> IResult<Input, F, Error>, FnG: Fn(Input) -> IResult<Input, G, Error>, FnH: Fn(Input) -> IResult<Input, H, Error>, FnI: Fn(Input) -> IResult<Input, I, Error>, FnJ: Fn(Input) -> IResult<Input, J, Error>, FnK: Fn(Input) -> IResult<Input, K, Error>, FnL: Fn(Input) -> IResult<Input, L, Error>, FnM: Fn(Input) -> IResult<Input, M, Error>, FnN: Fn(Input) -> IResult<Input, N, Error>, FnO: Fn(Input) -> IResult<Input, O, Error>, FnP: Fn(Input) -> IResult<Input, P, Error>, FnQ: Fn(Input) -> IResult<Input, Q, Error>, FnR: Fn(Input) -> IResult<Input, R, Error>, FnS: Fn(Input) -> IResult<Input, S, Error>, FnT: Fn(Input) -> IResult<Input, T, Error>> Tuple<Input, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T), Error> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG, FnH, FnI, FnJ, FnK, FnL, FnM, FnN, FnO, FnP, FnQ, FnR, FnS, FnT)
[src]
fn parse(
&self,
input: Input
) -> IResult<Input, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T), Error>
[src]
&self,
input: Input
) -> IResult<Input, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T), Error>
impl<Input: Clone, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, Error: ParseError<Input>, FnA: Fn(Input) -> IResult<Input, A, Error>, FnB: Fn(Input) -> IResult<Input, B, Error>, FnC: Fn(Input) -> IResult<Input, C, Error>, FnD: Fn(Input) -> IResult<Input, D, Error>, FnE: Fn(Input) -> IResult<Input, E, Error>, FnF: Fn(Input) -> IResult<Input, F, Error>, FnG: Fn(Input) -> IResult<Input, G, Error>, FnH: Fn(Input) -> IResult<Input, H, Error>, FnI: Fn(Input) -> IResult<Input, I, Error>, FnJ: Fn(Input) -> IResult<Input, J, Error>, FnK: Fn(Input) -> IResult<Input, K, Error>, FnL: Fn(Input) -> IResult<Input, L, Error>, FnM: Fn(Input) -> IResult<Input, M, Error>, FnN: Fn(Input) -> IResult<Input, N, Error>, FnO: Fn(Input) -> IResult<Input, O, Error>, FnP: Fn(Input) -> IResult<Input, P, Error>, FnQ: Fn(Input) -> IResult<Input, Q, Error>, FnR: Fn(Input) -> IResult<Input, R, Error>, FnS: Fn(Input) -> IResult<Input, S, Error>, FnT: Fn(Input) -> IResult<Input, T, Error>, FnU: Fn(Input) -> IResult<Input, U, Error>> Tuple<Input, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U), Error> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG, FnH, FnI, FnJ, FnK, FnL, FnM, FnN, FnO, FnP, FnQ, FnR, FnS, FnT, FnU)
[src]
fn parse(
&self,
input: Input
) -> IResult<Input, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U), Error>
[src]
&self,
input: Input
) -> IResult<Input, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U), Error>