ConditionalSpan

Span used to format Condition expression, of the form: condition ? ifTrue : ifFalse

Constructors

this
this(Span parent)
Undocumented in source.

Members

Functions

computeSplit
Split computeSplit(SolveState s, size_t i)
Undocumented in source. Be warned that the author may not have intended to support it.
setColonIndex
void setColonIndex(size_t i)
Undocumented in source. Be warned that the author may not have intended to support it.
setQuestionMarkIndex
void setQuestionMarkIndex(size_t i)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

colonIndex
size_t colonIndex;
Undocumented in source.
parentConditional
ConditionalSpan parentConditional;
Undocumented in source.
questionMarkIndex
size_t questionMarkIndex;
Undocumented in source.

Inherited Members

From Span

parent
Span parent;
Undocumented in source.
getState
ulong getState(SolveState s)
Undocumented in source. Be warned that the author may not have intended to support it.
getCost
uint getCost(SolveState s)
Undocumented in source. Be warned that the author may not have intended to support it.
opCmp
int opCmp(Span rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
toHash
size_t toHash()
Undocumented in source. Be warned that the author may not have intended to support it.
print
string print(Span span)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
matchLevel
bool matchLevel(Span s)
Undocumented in source. Be warned that the author may not have intended to support it.
Split
enum Split
Undocumented in source.
computeIndent
uint computeIndent(SolveState s, size_t i)
Undocumented in source. Be warned that the author may not have intended to support it.
computeAlignIndex
size_t computeAlignIndex(SolveState s, size_t i)
Undocumented in source. Be warned that the author may not have intended to support it.
computeSplit
Split computeSplit(SolveState s, size_t i)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta