Back to index

courier  0.68.2
Public Types | Public Member Functions | Public Attributes | Private Member Functions | Static Private Member Functions | Private Attributes | Friends
RecipeNode Class Reference

#include <recipenode.h>

Collaboration diagram for RecipeNode:
Collaboration graph
[legend]

List of all members.

Public Types

enum  RecipeNodeType {
  statementlist, assignment, qstring, sqstring,
  btstring, regexpr, add, subtract,
  multiply, divide, lessthan, lessthanoreq,
  greaterthan, greaterthanoreq, equal, notequal,
  concat, logicalor, logicaland, bitwiseor,
  bitwiseand, logicalnot, bitwisenot, strlessthan,
  strlessthanoreq, strgreaterthan, strgreaterthanoreq, strequal,
  strnotequal, strlength, strsubstr, strregexp,
  ifelse, whileloop, deliver, delivercc,
  exception, echo, xfilter, dotlock,
  flock, logfile, log, include,
  exit, foreach, getaddr, lookup,
  escape, to_lower, to_upper, hasaddr,
  gdbmopen, gdbmclose, gdbmfetch, gdbmstore,
  timetoken, importtoken, unset
}

Public Member Functions

 RecipeNode (RecipeNodeType)
 ~RecipeNode ()
void Evaluate (Recipe &, Buffer &)

Public Attributes

enum RecipeNode::RecipeNodeType nodeType

Private Member Functions

void dollarexpand (Recipe &, Buffer &)
int dollarexpand (Recipe &, Buffer &, int)
void AppendSibling (RecipeNode *)
void EvaluateString (Recipe &r, Buffer &b)
void EvaluateStrRegExp (Recipe &, Buffer &, Buffer *)
void EvaluateRegExp (Recipe &, Buffer &, Buffer *)
void rfc822getaddr (Buffer &)
int rfc822hasaddr (Buffer &)
int rfc822hasaddr (const char *, Buffer &)
void SpecialEscape (Buffer &)
int dolookup (Buffer &, Buffer &, Buffer &)

Static Private Member Functions

static void ParseRegExp (const Buffer &, Buffer &, Buffer &)
static int boolean (const Buffer &)

Private Attributes

RecipeNodeprevNode
RecipeNodenextNode
RecipeNodeparentNode
RecipeNodeprevSibling
RecipeNodenextSibling
RecipeNodefirstChild
RecipeNodelastChild
Buffer str
int linenum

Friends

class Recipe

Detailed Description

Definition at line 43 of file recipenode.h.


Member Enumeration Documentation

Enumerator:
statementlist 
assignment 
qstring 
sqstring 
btstring 
regexpr 
add 
subtract 
multiply 
divide 
lessthan 
lessthanoreq 
greaterthan 
greaterthanoreq 
equal 
notequal 
concat 
logicalor 
logicaland 
bitwiseor 
bitwiseand 
logicalnot 
bitwisenot 
strlessthan 
strlessthanoreq 
strgreaterthan 
strgreaterthanoreq 
strequal 
strnotequal 
strlength 
strsubstr 
strregexp 
ifelse 
whileloop 
deliver 
delivercc 
exception 
echo 
xfilter 
dotlock 
flock 
logfile 
log 
include 
exit 
foreach 
getaddr 
lookup 
escape 
to_lower 
to_upper 
hasaddr 
gdbmopen 
gdbmclose 
gdbmfetch 
gdbmstore 
timetoken 
importtoken 
unset 

Definition at line 60 of file recipenode.h.


Constructor & Destructor Documentation

Definition at line 123 of file recipenode.h.

{}

Member Function Documentation

void RecipeNode::AppendSibling ( RecipeNode ) [private]
static int RecipeNode::boolean ( const Buffer ) [static, private]
void RecipeNode::dollarexpand ( Recipe ,
Buffer  
) [private]
int RecipeNode::dollarexpand ( Recipe ,
Buffer ,
int   
) [private]
int RecipeNode::dolookup ( Buffer ,
Buffer ,
Buffer  
) [private]
void RecipeNode::Evaluate ( Recipe ,
Buffer  
)
void RecipeNode::EvaluateRegExp ( Recipe ,
Buffer ,
Buffer  
) [private]
void RecipeNode::EvaluateString ( Recipe r,
Buffer b 
) [private]
void RecipeNode::EvaluateStrRegExp ( Recipe ,
Buffer ,
Buffer  
) [private]
static void RecipeNode::ParseRegExp ( const Buffer ,
Buffer ,
Buffer  
) [static, private]
void RecipeNode::rfc822getaddr ( Buffer ) [private]
int RecipeNode::rfc822hasaddr ( Buffer ) [private]
int RecipeNode::rfc822hasaddr ( const char *  ,
Buffer  
) [private]
void RecipeNode::SpecialEscape ( Buffer ) [private]

Friends And Related Function Documentation

friend class Recipe [friend]

Definition at line 58 of file recipenode.h.


Member Data Documentation

Definition at line 49 of file recipenode.h.

Definition at line 49 of file recipenode.h.

int RecipeNode::linenum [private]

Definition at line 52 of file recipenode.h.

Definition at line 44 of file recipenode.h.

Definition at line 48 of file recipenode.h.

Definition at line 47 of file recipenode.h.

Definition at line 44 of file recipenode.h.

Definition at line 48 of file recipenode.h.

Definition at line 51 of file recipenode.h.


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