public static final Object[] p_formatScript = { null, "source", "*handler", null };
public static final Any formatScript(Context context, Any source, Any handler)
{
try {
InputStream input = getInputStream(context, source);
Tokenizer tokenizer = new Tokenizer(input, true);
FormattingCallbacks calls = new FormattingCallbacks(context, handler);
Token t = null;
out: for (;;) {
if ((t != null) && (t.next != null)) {
t = t.next;
} else {
t = tokenizer.getNextToken();
}
switch(t.kind) {
case Tokenizer.EOF:
break out;