Example #1
0
void
Script::_PrintNode(node* n) const
{
	PrintIndentation();
	printf("<%s>", n->header);
	n->Print();
	node_list::iterator c;
	IndentMore();
	for (c = n->children.begin(); c != n->children.end(); c++) {
		_PrintNode(*c);
	}
	IndentLess();
	PrintIndentation();
	printf("<%s/>\n", n->header);
}
Example #2
0
void cDexCodeWriter::IndentBackward(
    UINT IndentSize
    ) 
{ 
    this->IndentLevel -= IndentSize? IndentSize: this->IndentSize;
    PrintIndentation();
}
Example #3
0
void cDexCodeWriter::PrintStartLine(
    CHAR* Arguments
    )
{
    PrintIndentation();
    Print(Arguments);
}