Implementation of NMODL Source-to-Source translator (NOCMODL)
More...
|
| char * | emalloc (unsigned) |
| |
| char * | stralloc (const char *, char *) |
| |
| char * | inputline () |
| |
| char * | inputtopar () |
| |
| char * | Gets (char *) |
| |
| List * | newlist () |
| |
| List * | inputtext () |
| |
| Item * | putintoken (const char *s, short type) |
| |
| Item * | insertstr (Item *item, const char *str) |
| |
| Item * | insertsym (List *list, Symbol *sym) |
| |
| Item * | linsertstr (List *list, const char *str) |
| |
| Item * | lappendstr (List *list, const char *str) |
| |
| Item * | linsertsym (List *list, Symbol *sym) |
| |
| Item * | lappendsym (List *list, Symbol *sym) |
| |
| Item * | lappenditem (List *list, Item *item) |
| |
| Item * | lappendlst (List *list, List *lst) |
| |
| Item * | next () |
| |
| Item * | prev () |
| |
| Symbol * | install (const char *, int) |
| |
| Symbol * | lookup (const char *) |
| |
| Symbol * | copylocal (Symbol *) |
| |
| Symbol * | ifnew_parminstall (const char *name, const char *num, const char *units, const char *limits) |
| |
| void | printlist (List *) |
| |
| void | verbatim_adjust (char *q) |
| |
Implementation of NMODL Source-to-Source translator (NOCMODL)
◆ ARRAY
◆ BEGINBLK
| #define BEGINBLK 02 /* "{" */ |
◆ DEP
| #define DEP 010 /* also in usage field */ |
◆ DERF
◆ DISCF
◆ ENDBLK
| #define ENDBLK 04 /* "}" */ |
◆ EXPLICIT_DECL
| #define EXPLICIT_DECL 01 /* usage field, variable occurs in input file */ |
◆ EXTDEF
◆ EXTDEF2
| #define EXTDEF2 01000000L /* functions that can take array or function name arguments */ |
◆ EXTDEF3
| #define EXTDEF3 04000000L /* get two extra reset arguments at beginning */ |
◆ EXTDEF4
| #define EXTDEF4 020000000L /* get extra NrnThread* arg at beginning */ |
◆ EXTDEF5
◆ EXTDEF_RANDOM
| #define EXTDEF_RANDOM 0600000000L /* functions that can be used with RANDOM type */ |
◆ Fclose
◆ Fflush
◆ Fprintf
◆ Free
| #define Free |
( |
|
arg | ) |
free((void*) (arg)) |
◆ FUNCT
| #define FUNCT 0100 /* also in usage field */ |
◆ IGNORE
| #define IGNORE |
( |
|
arg | ) |
arg |
◆ INDEP
◆ Insertstr
◆ Insertsym
◆ INTGER
| #define INTGER 010000000L /* must be cast to double in expr */ |
◆ IONCONC
◆ IONCONC_IMPLICIT
| #define IONCONC_IMPLICIT 040000 |
◆ ITEM
◆ ITEM0
◆ ITERATE
| #define ITERATE |
( |
|
itm, |
|
|
|
lst |
|
) |
| for (itm = (lst)->next; itm != (lst); itm = itm->next) |
◆ ITM
| #define ITM |
( |
|
q | ) |
((q)->element.itm) |
◆ KEYWORD
◆ KINF
◆ Lappenditem
◆ Lappendlst
◆ Lappendstr
◆ Lappendsym
◆ LINF
◆ Linsertstr
◆ Linsertsym
◆ LIST
◆ LIST0
◆ LST
| #define LST |
( |
|
q | ) |
((q)->element.lst) |
◆ NEGATIVE
◆ NLINF
◆ nmodlCONST
| #define nmodlCONST 02000000L /* constants that do not appear in .var file */ |
◆ NMODLRANDOM
| #define NMODLRANDOM 040000 |
◆ NRN_BUFSIZE
◆ NRNBBCOREPOINTER
| #define NRNBBCOREPOINTER 020000 |
◆ NRNCURIN
| #define NRNCURIN 02 /* input value used */ |
◆ NRNCUROUT
| #define NRNCUROUT 04 /* added to output value */ |
◆ NRNEXTRN
◆ NRNGLOBAL
| #define NRNGLOBAL 0100 /* same for all sections, defined here */ |
◆ NRNIONFLAG
Value:
Definition at line 221 of file modl.h.
◆ NRNNOTP
| #define NRNNOTP 0400 /* doesn't belong in p array */ |
◆ NRNPOINTER
◆ NRNPRANGEIN
◆ NRNPRANGEOUT
◆ NRNRANGE
◆ NRNSTATIC
| #define NRNSTATIC 0200 /* v */ |
◆ PARF
◆ PARM
◆ Printf
◆ PROCED
◆ SEMI
| #define SEMI 01 /* ";" */ |
◆ SPECIAL
◆ STAT
◆ STR
| #define STR |
( |
|
q | ) |
((q)->element.str) |
◆ Strcat
◆ Strcpy
◆ SYM
| #define SYM |
( |
|
q | ) |
((q)->element.sym) |
◆ SYM0
◆ SYMBOL
◆ UNITDEF
◆ Item
◆ List
Definition at line 1 of file modl.h.
◆ Symbol
◆ copylocal()
◆ emalloc()
| char* emalloc |
( |
unsigned |
n | ) |
|
◆ Gets()
| char * Gets |
( |
char * |
buf | ) |
|
◆ ifnew_parminstall()
| Symbol * ifnew_parminstall |
( |
const char * |
name, |
|
|
const char * |
num, |
|
|
const char * |
units, |
|
|
const char * |
limits |
|
) |
| |
◆ inputline()
◆ inputtext()
◆ inputtopar()
◆ insertstr()
| Item * insertstr |
( |
Item * |
item, |
|
|
const char * |
str |
|
) |
| |
◆ insertsym()
◆ install()
| Symbol* install |
( |
const char * |
, |
|
|
int |
|
|
) |
| |
◆ lappenditem()
◆ lappendlst()
◆ lappendstr()
| Item * lappendstr |
( |
List * |
list, |
|
|
const char * |
str |
|
) |
| |
◆ lappendsym()
◆ linsertstr()
| Item * linsertstr |
( |
List * |
list, |
|
|
const char * |
str |
|
) |
| |
◆ linsertsym()
◆ lookup()
| Symbol * lookup |
( |
const char * |
| ) |
|
◆ newlist()
◆ next()
◆ prev()
◆ printlist()
| void printlist |
( |
List * |
list | ) |
|
◆ putintoken()
| Item* putintoken |
( |
const char * |
s, |
|
|
short |
type |
|
) |
| |
◆ stralloc()
| char * stralloc |
( |
const char * |
buf, |
|
|
char * |
rel |
|
) |
| |
◆ verbatim_adjust()
| void verbatim_adjust |
( |
char * |
q | ) |
|
◆ beginblk
◆ buf
◆ constructorfunc
◆ destructorfunc
◆ endblk
◆ extdef_rand
| std::map<std::string, const char*> extdef_rand |
|
extern |
◆ fcout
◆ filetxtlist
◆ fin
◆ finname
◆ firstlist
◆ fparout
◆ initfunc
◆ initlist
◆ intoken
◆ modelfunc
◆ modprefix
◆ nmodl_text
◆ plotlist
◆ procfunc
◆ semi
◆ termfunc