public static class Format.BoundVariable extends Format.Variable
metajava.FormatClosure
,
and well tested (in contrast to Format.FreeVariable
!-)Format.Annotated<A>, Format.Append, Format.Beneath, Format.Beside, Format.Block, Format.BoundVariable, Format.Comment, Format.Compound, Format.Context, Format.Empty, Format.Forester, Format.FormatPrinter, Format.FreeVariable, Format.Line, Format.Literal, Format.Markup, Format.Matcher, Format.MayBreak, Format.NonFormatPrinter, Format.Prior, Format.Rewriter, Format.Space, Format.Subst, Format.Tabular, Format.Variable, Format.Visitor
Modifier and Type | Field and Description |
---|---|
protected int |
index |
name
comma, contentPrefixPrinted, DEFAULT_WIDTH, dot, empty, ground, indent, INDENT_NOT_SET, invalid, isAlwaysMultiline, LENGTH_PREFIX, literal, maxWidth, minWidth, pattern_illegal_literal, pattern_newline, pattern_ws, pattern_wsWithVars, space
format
Constructor and Description |
---|
BoundVariable(int index) |
Modifier and Type | Method and Description |
---|---|
Format |
eval(Format.Context c,
boolean partial) |
bottom, debugPrefix, doprint
annotated, append, append, apply, apply, apply, apply, applyPartial, applyTo, applyTo, beneath, beneath, beside, beside, block, block, calcground, calcmax, calcmin, calcmult, comment, comment, comment, comment, format, indent, indentIsSet, invalidate, isSpace, isValidContentForLiteral, line, line, list, list, list, list, list, literal, main, makeAppend, makeBeneath, makeBeside, makeBlock, makeLine, makeTabular, markup, markupLeft, markupRight, printFormat, printFormat, printNonFormat, prior, prior, quoteDTDstyle, quoteJavaStyle, showLn, showLn, showSwingTree, space, subst, subst, subst, tabular, tabular, text, textWithVars, toFormat, toObjString, toString, toString, update, validate, variable, variable
public Format eval(Format.Context c, boolean partial)
see also the complete user documentation .