Sha256: 0abcfa7788e818317b9de39d6a22741d2a3662c81800d883db46acc41cc5f514
Contents?: true
Size: 773 Bytes
Versions: 3
Compression:
Stored size: 773 Bytes
Contents
/* -*- c -*- * File: proscope.h * Author: Igor Vlasenko <vlasenko@imath.kiev.ua> * Created: Thu May 26 15:13:10 2005 * * $Id$ */ #ifndef _PROSCOPE_H #define _PROSCOPE_H 1 #include "pabstract.h" struct scope_stack { int level; int max; struct ProScopeEntry* root; }; struct ProScopeEntry { int flags; /* type of scope */ int loop; /* current loop */ int loop_count; /* total number of loops or negative value if unknown */ /* objects are wrapper-specific so pointer is void */ ABSTRACT_ARRAY* loops_AV; /* pointer to array of loop's dictionaries */ ABSTRACT_MAP* param_HV; /* pointer to dictionary of current loop */ }; #define isScopeLoop(X) ((X)->loops_AV!=NULL) #define isScopeMap(X) ((X)->loops_AV==NULL) #endif /* _PROSCOPE_H */
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
html-template-pro-0.0.3 | ext/html/template/proscope.h |
html-template-pro-0.0.2 | ext/html/template/internal/proscope.h |
html-template-pro-0.0.1 | ext/html/template/internal/proscope.h |