- dump
void dump(string file, uint line)
Dumps the current state of the indentation stack to stderr. Used for debugging.
- indentLevel
int indentLevel()
Undocumented in source. Be warned that the author may not have intended to support it.
- indentToMostRecent
int indentToMostRecent(IdType item)
Get the indent size at the most recent occurrence of the given indent type
- length
int length()
Undocumented in source. Be warned that the author may not have intended to support it.
- pop
void pop()
Pops the top indent from the stack.
- popTempIndents
void popTempIndents()
Pops all temporary indents from the top of the stack.
- popWrapIndents
void popWrapIndents()
Pops all wrapping indents from the top of the stack.
- push
void push(IdType item)
Pushes the given indent type on to the stack.
- top
IdType top()
Undocumented in source. Be warned that the author may not have intended to support it.
- topAre
bool topAre(IdType[] types)
Undocumented in source. Be warned that the author may not have intended to support it.
- topIs
bool topIs(IdType type)
- topIsOneOf
bool topIsOneOf(IdType[] types)
- topIsTemp
bool topIsTemp()
- topIsWrap
bool topIsWrap()
- wrapIndents
int wrapIndents()
Undocumented in source. Be warned that the author may not have intended to support it.
Stack for managing indent levels.