Uses of Interface
jfun.parsec.ArrayFactory

Packages that use ArrayFactory
jfun.parsec Provides classes and interfaces for parser combinator logic and basic parsers. 
 

Uses of ArrayFactory in jfun.parsec
 

Methods in jfun.parsec that return ArrayFactory
static ArrayFactory<java.lang.Object> ArrayFactories.defaultFactory()
          gets and instance of ArrayFactory that simply create Object[].
static
<E> ArrayFactory<E>
ArrayFactories.typedFactory(java.lang.Class<E> etype)
          gets and instanceof ArrayFactory that creates T[] for a given element type T.
 

Methods in jfun.parsec with parameters of type ArrayFactory
static
<R> Parser<R[]>
Parsers.endBy(ArrayFactory<R> af, Parser<?> sep, Parser<? extends R> p)
          run a series of Parser p pattern ended by Parser sep pattern.
static
<R> Parser<R[]>
Parsers.endBy(java.lang.String name, ArrayFactory<R> af, Parser<?> sep, Parser<? extends R> p)
          run a series of Parser p pattern ended by Parser sep pattern.
static
<R> Parser<R[]>
Parsers.endBy1(ArrayFactory<R> af, Parser<?> sep, Parser<? extends R> p)
          run a series of Parser p pattern ended by Parser sep pattern.
static
<R> Parser<R[]>
Parsers.endBy1(java.lang.String name, ArrayFactory<R> af, Parser<?> sep, Parser<? extends R> p)
          run a series of Parser p pattern ended by Parser sep pattern.
 Parser<Type[]> Parser.many(ArrayFactory<Type> af)
          p.many(af) is equivalent to p* in EBNF.
 Parser<Type[]> Parser.many(ArrayFactory<Type> af, int min)
          Runs this parser greedily for at least min times.
static
<R> Parser<R[]>
Parsers.many(java.lang.String name, ArrayFactory<R> af, int min, Parser<? extends R> p)
          Greedily runs Parser p repeatedly for at least min times and collect the result in an array created by ArrayFactory object.
static
<R> Parser<R[]>
Parsers.many(java.lang.String name, ArrayFactory<R> af, Parser<? extends R> p)
          Greedily runs Parser p repeatedly and collect the result in an array created by ArrayFactory object.
 Parser<Type[]> Parser.many(java.lang.String name, ArrayFactory<Type> af)
          p.many(name, af) is equivalent to p* in EBNF.
 Parser<Type[]> Parser.many(java.lang.String name, ArrayFactory<Type> af, int min)
          Runs this parser greedily for at least min times.
 Parser<Type[]> Parser.many1(ArrayFactory<Type> af)
          p.many1(af) is equivalent to p+ in EBNF.
 Parser<Type[]> Parser.many1(java.lang.String name, ArrayFactory<Type> af)
          p.many1(name, af) is equivalent to p+ in EBNF.
static
<E,R> Parser<R>
Parsers.mapn(ArrayFactory<?> af, Parser<?>[] ps, Mapn<R> mn)
          Sequencing of an array of Parser objects.
static
<R> Parser<R>
Parsers.mapn(java.lang.String name, ArrayFactory<?> af, Parser<?>[] ps, Mapn<R> mn)
          Sequencing of an array of Parser objects.
 Parser<Type[]> Parser.repeat(ArrayFactory<Type> af, int n)
          Run Parser 'this' for n times, collect the return values in an array created by the ArrayFactory object.
static
<R> Parser<R[]>
Parsers.repeat(java.lang.String name, ArrayFactory<R> af, int n, Parser<? extends R> p)
          Runs Parser p for n times, collect the return values in an array created by the ArrayFactory object.
 Parser<Type[]> Parser.repeat(java.lang.String name, ArrayFactory<Type> af, int n)
          Run Parser 'this' for n times, collect the return values in an array created by the ArrayFactory object.
static
<R> Parser<R[]>
Parsers.sepBy(ArrayFactory<R> af, Parser<?> sep, Parser<? extends R> p)
          run a series of Parser p pattern that is seperated by Parser sep pattern.
static
<R> Parser<R[]>
Parsers.sepBy(java.lang.String name, ArrayFactory<R> af, Parser<?> sep, Parser<? extends R> p)
          run a series of Parser p pattern that is seperated by Parser sep pattern.
static
<R> Parser<R[]>
Parsers.sepBy1(ArrayFactory<R> af, Parser<?> sep, Parser<? extends R> p)
          run a series of Parser p pattern that is seperated by Parser sep pattern.
static
<R,A extends R>
Parser<R[]>
Parsers.sepBy1(java.lang.String name, ArrayFactory<R> af, Parser<?> sep, Parser<A> p)
          run a series of Parser p pattern that is seperated by Parser sep pattern.
static
<R> Parser<R[]>
Parsers.sepEndBy(ArrayFactory<R> af, Parser<?> sep, Parser<? extends R> p)
          run a series of Parser p pattern that is seperated and optionally ended by Parser sep pattern.
static
<R> Parser<R[]>
Parsers.sepEndBy(java.lang.String name, ArrayFactory<R> af, Parser<?> sep, Parser<? extends R> p)
          run a series of Parser p pattern that is seperated and optionally ended by Parser sep pattern.
static
<R> Parser<R[]>
Parsers.sepEndBy1(ArrayFactory<R> af, Parser<?> sep, Parser<? extends R> p)
          run a series of Parser p pattern that is seperated and optionally ended by Parser sep pattern.
static
<R> Parser<R[]>
Parsers.sepEndBy1(java.lang.String name, ArrayFactory<R> af, Parser<?> sep, Parser<? extends R> p)
          run a series of Parser p pattern that is seperated and optionally ended by Parser sep pattern.
 Parser<Type[]> Parser.some(ArrayFactory<Type> af, int max)
          Runs this for up to max times.
 Parser<Type[]> Parser.some(ArrayFactory<Type> af, int min, int max)
          Runs this for at least min times and at most max times.
static
<R> Parser<R[]>
Parsers.some(java.lang.String name, ArrayFactory<R> af, int min, int max, Parser<? extends R> p)
          Greedily runs Parser p repeatedly for at least min times and at most max time.
static
<R> Parser<R[]>
Parsers.some(java.lang.String name, ArrayFactory<R> af, int max, Parser<? extends R> p)
          Greedily runs Parser p repeatedly for at most max time.
 Parser<Type[]> Parser.some(java.lang.String name, ArrayFactory<Type> af, int max)
          Runs this for up to max times.
 Parser<Type[]> Parser.some(java.lang.String name, ArrayFactory<Type> af, int min, int max)
          Runs this for at least min times and at most max times.