Public Member Functions | List of all members
Formatter Class Reference

#include <aisc_interpreter.h>

Public Member Functions

 Formatter ()
void set_tabstop (int ts)
void set_tab (int idx, int pos)
int get_indent () const
void set_indent (int indent_)
int write (const char *str)
void flush (FILE *out)
void final_flush (FILE *out)

Detailed Description

Definition at line 192 of file aisc_interpreter.h.

Constructor & Destructor Documentation

Formatter::Formatter ( )

Definition at line 218 of file aisc.c.

References ALIGN_MARKER, and set_tabstop().

Member Function Documentation

void Formatter::set_tabstop ( int  ts)

Definition at line 252 of file aisc_interpreter.h.

Referenced by Formatter().

void Formatter::set_tab ( int  idx,
int  pos 

Definition at line 258 of file aisc_interpreter.h.

References aisc_assert.

int Formatter::get_indent ( ) const

Definition at line 263 of file aisc_interpreter.h.

Referenced by PrintMaybe::add(), and PrintMaybe::spool().

void Formatter::set_indent ( int  indent_)

Definition at line 264 of file aisc_interpreter.h.

Referenced by PrintMaybe::spool().

int Formatter::write ( const char str)

Definition at line 246 of file aisc.c.

References Interpreter::instance, and print_error.

void Formatter::flush ( FILE *  out)

Definition at line 267 of file aisc_interpreter.h.

References LineQueue::flush().

Referenced by final_flush().

void Formatter::final_flush ( FILE *  out)

Definition at line 268 of file aisc_interpreter.h.

References flush().

The documentation for this class was generated from the following files: