Dart DocumentationparsersParserAccumulator10

ParserAccumulator10 class

class ParserAccumulator10 {
 final Parser p1, p2, p3, p4, p5, p6, p7, p8, p9, p10;
 ParserAccumulator10(this.p1, this.p2, this.p3, this.p4, this.p5, this.p6, this.p7, this.p8, this.p9, this.p10);

 /// Parser sequencing: creates a parser accumulator
 ParserAccumulator11 operator +(Parser p) =>
   new ParserAccumulator11(p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p);

 /// Action application
 Parser operator ^(Object f(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)) =>
     success((x1) => (x2) => (x3) => (x4) => (x5) => (x6) => (x7) => (x8) => (x9) => (x10) => f(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)) * p1 * p2 * p3 * p4 * p5 * p6 * p7 * p8 * p9 * p10;

 /// Creates a [:Parser<List>:] from [this].
 Parser<List> get list =>
     success((x1) => (x2) => (x3) => (x4) => (x5) => (x6) => (x7) => (x8) => (x9) => (x10) => [x1, x2, x3, x4, x5, x6, x7, x8, x9, x10]) * p1 * p2 * p3 * p4 * p5 * p6 * p7 * p8 * p9 * p10;
}

Constructors

new ParserAccumulator10(Parser p1, Parser p2, Parser p3, Parser p4, Parser p5, Parser p6, Parser p7, Parser p8, Parser p9, Parser p10) #

Creates a new Object instance.

Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.

docs inherited from Object
ParserAccumulator10(this.p1, this.p2, this.p3, this.p4, this.p5, this.p6, this.p7, this.p8, this.p9, this.p10);

Properties

final Parser<List> list #

Creates a Parser<List> from this.

Parser<List> get list =>
   success((x1) => (x2) => (x3) => (x4) => (x5) => (x6) => (x7) => (x8) => (x9) => (x10) => [x1, x2, x3, x4, x5, x6, x7, x8, x9, x10]) * p1 * p2 * p3 * p4 * p5 * p6 * p7 * p8 * p9 * p10;

final Parser p1 #

final Parser p1

final Parser p10 #

final Parser p1, p2, p3, p4, p5, p6, p7, p8, p9, p10

final Parser p2 #

final Parser p1, p2

final Parser p3 #

final Parser p1, p2, p3

final Parser p4 #

final Parser p1, p2, p3, p4

final Parser p5 #

final Parser p1, p2, p3, p4, p5

final Parser p6 #

final Parser p1, p2, p3, p4, p5, p6

final Parser p7 #

final Parser p1, p2, p3, p4, p5, p6, p7

final Parser p8 #

final Parser p1, p2, p3, p4, p5, p6, p7, p8

final Parser p9 #

final Parser p1, p2, p3, p4, p5, p6, p7, p8, p9

Operators

ParserAccumulator11 operator +(Parser p) #

Parser sequencing: creates a parser accumulator

ParserAccumulator11 operator +(Parser p) =>
 new ParserAccumulator11(p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p);

Parser operator ^(Object f(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)) #

Action application

Parser operator ^(Object f(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)) =>
   success((x1) => (x2) => (x3) => (x4) => (x5) => (x6) => (x7) => (x8) => (x9) => (x10) => f(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)) * p1 * p2 * p3 * p4 * p5 * p6 * p7 * p8 * p9 * p10;