Uses of Class
eu.bandm.tools.ramus.ogma.Fragment

Packages that use Fragment
Package
Description
Dynamic building blocks for recursive-descent parsers.
  • Uses of Fragment in eu.bandm.tools.ramus.ogma

    Methods in eu.bandm.tools.ramus.ogma that return Fragment
    Modifier and Type
    Method
    Description
    AbstractExpression.assign()
    Returns a fragment that has the syntax and semantics of this expression and assigns the result of this expression to a fresh key.
    AbstractExpression.assign(Object key)
    Returns a fragment that has the syntax and semantics of this expression and assigns the result of this expression to the given key.
    Fragment.assign()
    Returns a fragment that has the syntax and semantics of this expression and assigns the result of this expression to a fresh key.
    static <D, T> Fragment<D,T,Location<D>>
    Fragment.endInterval(ParserFactory factory)
    Returns a fragment that sets the result value to the token location before the current input state.
    Fragment.imported()
    Returns a variant of this fragment that imports the result from an enclosing scope.
    static <D, T> Fragment<D,T,Location<D>>
    Fragment.startInterval(ParserFactory factory)
    Returns a fragment that sets the result value to the token location at the current input state.
    Methods in eu.bandm.tools.ramus.ogma that return types with arguments of type Fragment
    Modifier and Type
    Method
    Description
    List<Fragment<?,?,?>>
    ParserFactory.Locator.getScope(Fragment<?,?,?>... args)
    Returns a list of fragments for scoping that includes location tracking for this locator.
    Methods in eu.bandm.tools.ramus.ogma with parameters of type Fragment
    Modifier and Type
    Method
    Description
    List<Fragment<?,?,?>>
    ParserFactory.Locator.getScope(Fragment<?,?,?>... args)
    Returns a list of fragments for scoping that includes location tracking for this locator.
    default <T> Parser<D,T>
    ReducerFactory.Constructor1.parse(Fragment<D,T,? extends A1> arg1)
    Returns the effective parser for the argument fragment.
    default <T> Parser<D,T>
    ReducerFactory.Constructor2.parse(Fragment<D,T,? extends A1> arg1, Fragment<D,T,? extends A2> arg2)
    Returns the effective parser for the argument fragments.
    default <T> Parser<D,T>
    ReducerFactory.Constructor3.parse(Fragment<D,T,? extends A1> arg1, Fragment<D,T,? extends A2> arg2, Fragment<D,T,? extends A3> arg3)
    Returns the effective parser for the argument fragments.
    default <T> Parser<D,T>
    ReducerFactory.Constructor4.parse(Fragment<D,T,? extends A1> arg1, Fragment<D,T,? extends A2> arg2, Fragment<D,T,? extends A3> arg3, Fragment<D,T,? extends A4> arg4)
    Returns the effective parser for the argument fragments.
    default <T> Parser<D,T>
    ReducerFactory.Constructor5.parse(Fragment<D,T,? extends A1> arg1, Fragment<D,T,? extends A2> arg2, Fragment<D,T,? extends A3> arg3, Fragment<D,T,? extends A4> arg4, Fragment<D,T,? extends A5> arg5)
    Returns the effective parser for the argument fragments.
    final Parser<D,T>
    Parser.withScope(Fragment<?,?,?>... fragments)
    Wraps the behavior of this parser in a local scope for a set of semantic variables bound by grammar fragments.
    Method parameters in eu.bandm.tools.ramus.ogma with type arguments of type Fragment
    Modifier and Type
    Method
    Description
    final Parser<D,T>
    Parser.withScope(List<? extends Fragment<?,?,?>> fragments)
    Wraps the behavior of this parser in a local scope for a set of semantic variables bound by grammar fragments.