oplangtext.c File Reference

#include "frontier.h"
#include "standard.h"
#include "memory.h"
#include "strings.h"
#include "lang.h"
#include "langinternal.h"
#include "op.h"
#include "opinternal.h"

Include dependency graph for oplangtext.c:

Go to the source code of this file.

Functions

static boolean backslashdelete (Handle bs)
static boolean poptrailingwhitespacehandle (Handle bs)
static boolean remainingsubheadsarecomments (hdlheadrecord hnode)
static boolean oplangtextvisit (hdlheadrecord hnode, ptrvoid refcon)
boolean opgetlangtext (hdloutlinerecord houtline, boolean flpretty, Handle *htext)

Variables

static short langtextlastlevel
static boolean flfirstlangtextline
static short ctlinesincontinuation
static boolean fllastwascomment
static boolean flmakeitpretty
static Handleplastcomment


Function Documentation

static boolean backslashdelete Handle  bs  )  [static]
 

Definition at line 56 of file oplangtext.c.

References gethandlesize(), nil, and popfromhandle().

Referenced by oplangtextvisit().

Here is the call graph for this function:

boolean opgetlangtext hdloutlinerecord  houtline,
boolean  flpretty,
Handle htext
 

Definition at line 379 of file oplangtext.c.

References bigstring, closehandlestream(), ctlinesincontinuation, disposehandle(), disposehandlestream(), error, filledstring(), flfirstlangtextline, fllastwascomment, flmakeitpretty, langaddapplescriptsyntax(), langtextlastlevel, nil, openhandlestream(), oplangtextvisit(), opoutlinetotextstream(), oppopoutline(), oppushoutline(), opsiblingvisiter(), opwriteeditbuffer(), plastcomment, setemptystring, writehandlestreamhandle(), and writehandlestreamstring().

Referenced by megetnodelangtext(), opverbgetlangtext(), opverbpacktotext(), scriptexportscrap(), and scriptnewprocess().

Here is the call graph for this function:

static boolean oplangtextvisit hdlheadrecord  hnode,
ptrvoid  refcon
[static]
 

Definition at line 117 of file oplangtext.c.

References backslashdelete(), BIGSTRING, bigstring, chlinefeed, chreturn, chspace, chtab, copyhandle(), ctlinesincontinuation, disposehandle(), down, equalidentifiers(), filledstring(), fl, flcomment, flfirstlangtextline, fllastwascomment, flmakeitpretty, gethandlesize(), h, hnode, insertchar(), insertinhandle(), inserttextinhandle(), isemptyhandle, langcommentdelete(), langtextlastlevel, left, loadhandleremains(), nil, opnavigate(), opnestedincomment(), plastcomment, poptrailingwhitespacehandle(), pushchar(), pushhandle(), pushtexthandle(), remainingsubheadsarecomments(), setemptystring, sethandlesize(), setstringwithchar, STR_else, textfirstword(), writehandlestreamhandle(), and writehandlestreamstring().

Referenced by opgetlangtext().

Here is the call graph for this function:

static boolean poptrailingwhitespacehandle Handle  bs  )  [static]
 

Definition at line 71 of file oplangtext.c.

References ct, gethandlesize(), i, sethandlesize(), and whitespacechar().

Referenced by oplangtextvisit().

Here is the call graph for this function:

static boolean remainingsubheadsarecomments hdlheadrecord  hnode  )  [static]
 

Definition at line 95 of file oplangtext.c.

References down, hnode, and opnavigate().

Referenced by oplangtextvisit().

Here is the call graph for this function:


Variable Documentation

short ctlinesincontinuation [static]
 

Definition at line 45 of file oplangtext.c.

Referenced by opgetlangtext(), and oplangtextvisit().

boolean flfirstlangtextline [static]
 

Definition at line 43 of file oplangtext.c.

Referenced by opgetlangtext(), and oplangtextvisit().

boolean fllastwascomment [static]
 

Definition at line 47 of file oplangtext.c.

Referenced by opgetlangtext(), and oplangtextvisit().

boolean flmakeitpretty [static]
 

Definition at line 49 of file oplangtext.c.

Referenced by opgetlangtext(), and oplangtextvisit().

short langtextlastlevel [static]
 

Definition at line 41 of file oplangtext.c.

Referenced by opgetlangtext(), and oplangtextvisit().

Handle* plastcomment [static]
 

Definition at line 51 of file oplangtext.c.

Referenced by opgetlangtext(), and oplangtextvisit().


Generated on Thu Jun 8 07:57:21 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6