Uses of Class
eu.bandm.tools.format.Context

Packages that use Context
Package
Description
Text layout and pretty printing.
  • Uses of Context in eu.bandm.tools.format

    Methods in eu.bandm.tools.format that return Context
    Modifier and Type
    Method
    Description
    Context.eval(Context outer, boolean partial)
    Evaluates all values bound in this Context against the outer context given as parameter.
    final Context
    Subst.getContext()
    Return the definitions which are valid in this scope.
    Methods in eu.bandm.tools.format with parameters of type Context
    Modifier and Type
    Method
    Description
    static Format
    Format.apply(Format body, Context c, boolean partial)
    Returns the format which results from replacing all Variables by their binding defined in context c, if any.
    Annotated.eval(Context c, boolean partial)
     
    BoundVariable.eval(Context c, boolean partial)
    Return the Format value bound to position BoundVariable.index of this variable in the given context.
    Compound.eval(Context c, boolean partial)
     
    Context.eval(Context outer, boolean partial)
    Evaluates all values bound in this Context against the outer context given as parameter.
    Format.eval(Context c, boolean partial)
    Return the result of replacing all variables with the bindings in the given context.
    FreeVariable.eval(Context c, boolean partial)
    Replace this by the binding defined in the context.
    Prior.eval(Context c, boolean partial)
     
    Subst.eval(Context c, boolean partial)
    Return the result of replacing all variables with the bindings in the given context.
    static Format
    Format.subst(Format body, Context c, boolean partial)
    Creates a scope which imposes the given variable substitutions on a subtree of formats.
    Constructors in eu.bandm.tools.format with parameters of type Context
    Modifier
    Constructor
    Description
     
    Subst(Format body, Context context, boolean partial)
    Constructor which sets most object fields explicitly, except indent which is unset.
     
    Subst(Format body, Context context, boolean partial, int indent)
    Constructor which sets all object fields explicitly.