Home Libraries Author Links

CuglifyEnv Struct Reference
[Cuglify: C and C++ Source Code Uglifier]


Detailed Description

Match environment CuglifyEnv.
Examples:

cuglify.c.

Definition at line 180 of file cuglify.c.


Data Fields

StmBool init
 StmTrue, after the parsing has begun.
StmBool bsep
 StmTrue, flagging that before new output a space character could be needed as separator.
StmBool lbeg
 StmTrue, flagging that before new output first a newline character shall be output.
StmBool clbeg
 StmTrue, flagging that if a comment follows, at first a newline character shall be output.
StmBool cnl
 StmTrue, flagging that after a comment first a newline character shall be output.
StmBool comments
 StmTrue, if comments shall be retained in the output.
StmBool cplusplus
 StmTrue for C++ input as opposed to C input.
StmBool cplusplusComments
 StmTrue, if C++ comments are allowed.
StmBool incomment
 StmTrue, while a comment is parsed.
int linelen
 If not null, output line limitation.
int iflevel
 Preprocessor if level.
int lnr
 Preprocessor line number.
const char * filename
 Preprocessor filename.
const char * prog
 Program basename.
char * str
 Logical input line (see readline()).
char * clbegstr
 Comment line begin string.
char * outstr
 Pointer to the character prepared for output.
int outlen
 Number of characters prepared for output.
StmBool ppline
 StmTrue, while a preprocessor line is parsed.
FILE * instream
 Input file stream.
FILE * outstream
 Output file stream.
FILE * debug
 Debug output file stream.
jmp_buf jmpbuf
 Error environment buffer.
LastChar last
 Last character state.

Field Documentation

StmBool CuglifyEnv::init

StmTrue, after the parsing has begun.

Examples:
cuglify.c.

Definition at line 182 of file cuglify.c.

Referenced by main().

StmBool CuglifyEnv::bsep

StmTrue, flagging that before new output a space character could be needed as separator.

Examples:
cuglify.c.

Definition at line 183 of file cuglify.c.

Referenced by main().

StmBool CuglifyEnv::lbeg

StmTrue, flagging that before new output first a newline character shall be output.

Examples:
cuglify.c.

Definition at line 186 of file cuglify.c.

Referenced by main().

StmBool CuglifyEnv::clbeg

StmTrue, flagging that if a comment follows, at first a newline character shall be output.

Examples:
cuglify.c.

Definition at line 189 of file cuglify.c.

Referenced by main().

StmBool CuglifyEnv::cnl

StmTrue, flagging that after a comment first a newline character shall be output.

Examples:
cuglify.c.

Definition at line 192 of file cuglify.c.

Referenced by main().

StmBool CuglifyEnv::comments

StmTrue, if comments shall be retained in the output.

Examples:
cuglify.c.

Definition at line 195 of file cuglify.c.

Referenced by main().

StmBool CuglifyEnv::cplusplus

StmTrue for C++ input as opposed to C input.

Examples:
cuglify.c.

Definition at line 197 of file cuglify.c.

Referenced by main().

StmBool CuglifyEnv::cplusplusComments

StmTrue, if C++ comments are allowed.

Examples:
cuglify.c.

Definition at line 199 of file cuglify.c.

Referenced by main().

StmBool CuglifyEnv::incomment

StmTrue, while a comment is parsed.

Examples:
cuglify.c.

Definition at line 200 of file cuglify.c.

Referenced by main().

int CuglifyEnv::linelen

If not null, output line limitation.

Examples:
cuglify.c.

Definition at line 201 of file cuglify.c.

Referenced by main().

int CuglifyEnv::iflevel

Preprocessor if level.

Examples:
cuglify.c.

Definition at line 202 of file cuglify.c.

Referenced by main().

int CuglifyEnv::lnr

Preprocessor line number.

Examples:
cuglify.c.

Definition at line 203 of file cuglify.c.

Referenced by main().

const char* CuglifyEnv::filename

Preprocessor filename.

Examples:
cuglify.c.

Definition at line 204 of file cuglify.c.

Referenced by main().

const char* CuglifyEnv::prog

Program basename.

Examples:
cuglify.c.

Definition at line 205 of file cuglify.c.

Referenced by main().

char* CuglifyEnv::str

Logical input line (see readline()).

Examples:
cuglify.c.

Definition at line 206 of file cuglify.c.

Referenced by main().

char* CuglifyEnv::clbegstr

Comment line begin string.

Examples:
cuglify.c.

Definition at line 207 of file cuglify.c.

Referenced by main().

char* CuglifyEnv::outstr

Pointer to the character prepared for output.

Examples:
cuglify.c.

Definition at line 208 of file cuglify.c.

Referenced by main().

int CuglifyEnv::outlen

Number of characters prepared for output.

Examples:
cuglify.c.

Definition at line 210 of file cuglify.c.

Referenced by main().

StmBool CuglifyEnv::ppline

StmTrue, while a preprocessor line is parsed.

Examples:
cuglify.c.

Definition at line 212 of file cuglify.c.

Referenced by main().

FILE* CuglifyEnv::instream

Input file stream.

Examples:
cuglify.c.

Definition at line 214 of file cuglify.c.

Referenced by main().

FILE* CuglifyEnv::outstream

Output file stream.

Examples:
cuglify.c.

Definition at line 215 of file cuglify.c.

Referenced by main().

FILE* CuglifyEnv::debug

Debug output file stream.

Examples:
cuglify.c.

Definition at line 216 of file cuglify.c.

Referenced by main().

jmp_buf CuglifyEnv::jmpbuf

Error environment buffer.

Examples:
cuglify.c.

Definition at line 217 of file cuglify.c.

Referenced by main().

LastChar CuglifyEnv::last

Last character state.

Examples:
cuglify.c.

Definition at line 218 of file cuglify.c.

Referenced by main().


© Copyright Tom Michaelis 2002-2007

Distributed under the SysToMath Software License (See the accompanying file license.txt or a copy at www.SysToMath.com).