NEURON
parsact.cpp File Reference
#include <../../nrnconf.h>
#include <stdlib.h>
#include "modl.h"
#include "parse1.hpp"

Go to the source code of this file.

Macros

#define GLOBFUNC   1
 

Functions

Itemvectorize_replacement_item (Item *)
 
void explicit_decl (Item *q)
 
void parm_array_install (Symbol *n, const char *num, char *units, char *limits, int index)
 
void parminstall (Symbol *n, const char *num, const char *units, const char *limits)
 
Symbolifnew_parminstall (const char *name, const char *num, const char *units, const char *limits)
 
void indepinstall (Symbol *n, const char *from, const char *to, const char *with, const char *units)
 
void depinstall (int type, Symbol *n, int index, const char *from, const char *to, const char *units, Item *qs, int makeconst, const char *abstol)
 
void statdefault (Symbol *n, int index, const char *units, Item *qs, int makeconst)
 
static int func_arg_examine (Item *qpar, Item *qend)
 
void vectorize_scan_for_func (Item *q1, Item *q2)
 
void defarg (Item *q1, Item *q2)
 
void lag_stmt (Item *q1, int blocktype)
 
void add_reset_args (Item *q)
 
void add_nrnthread_arg (Item *q)
 
void check_tables ()
 
int check_tables_threads (List *p)
 
void table_massage (List *tablist, Item *qtype, Item *qname, List *arglist)
 
static void funchack (Symbol *n, bool ishoc, int hack)
 
void hocfunchack (Symbol *n, Item *qpar1, Item *qpar2, int hack)
 
static void npyfunc (Symbol *n, int hack)
 
void hocfunc (Symbol *n, Item *qpar1, Item *qpar2)
 
void vectorize_use_func (Item *qname, Item *qpar1, Item *qexpr, Item *qpar2, int blocktype)
 
void function_table (Symbol *s, Item *qpar1, Item *qpar2, Item *qb1, Item *qb2)
 
void watchstmt (Item *par1, Item *dir, Item *par2, Item *flag, int blocktype)
 
void threadsafe (const char *s)
 
Itemprotect_astmt (Item *q1, Item *q2)
 
void nrnmutex (int on, Item *q)
 

Variables

Symbolscop_indep
 
Symbolindepsym
 
Symbolstepsym
 
Listindeplist
 
Listwatch_alloc
 
Listsyminorder
 
Liststate_discon_list_
 
int net_send_seen_
 
int net_event_seen_
 
int watch_seen_
 
int protect_
 
int protect_include_
 
int artificial_cell
 
int vectorize
 
int assert_threadsafe
 
static const char * indepunits = ""
 
static Listcheck_table_statements
 
static Symbollast_func_using_table
 
static Listcheck_table_thread_list
 
int point_process
 

Macro Definition Documentation

◆ GLOBFUNC

#define GLOBFUNC   1

Function Documentation

◆ add_nrnthread_arg()

void add_nrnthread_arg ( Item q)

Definition at line 323 of file parsact.cpp.

◆ add_reset_args()

void add_reset_args ( Item q)

Definition at line 313 of file parsact.cpp.

◆ check_tables()

void check_tables ( )

Definition at line 353 of file parsact.cpp.

◆ check_tables_threads()

int check_tables_threads ( List p)

Definition at line 370 of file parsact.cpp.

◆ defarg()

void defarg ( Item q1,
Item q2 
)

Definition at line 239 of file parsact.cpp.

◆ depinstall()

void depinstall ( int  type,
Symbol n,
int  index,
const char *  from,
const char *  to,
const char *  units,
Item qs,
int  makeconst,
const char *  abstol 
)

Definition at line 136 of file parsact.cpp.

◆ explicit_decl()

void explicit_decl ( Item q)

Definition at line 32 of file parsact.cpp.

◆ func_arg_examine()

static int func_arg_examine ( Item qpar,
Item qend 
)
static

Definition at line 202 of file parsact.cpp.

◆ funchack()

static void funchack ( Symbol n,
bool  ishoc,
int  hack 
)
static

Definition at line 739 of file parsact.cpp.

◆ function_table()

void function_table ( Symbol s,
Item qpar1,
Item qpar2,
Item qb1,
Item qb2 
)

Definition at line 940 of file parsact.cpp.

◆ hocfunc()

void hocfunc ( Symbol n,
Item qpar1,
Item qpar2 
)

Definition at line 845 of file parsact.cpp.

◆ hocfunchack()

void hocfunchack ( Symbol n,
Item qpar1,
Item qpar2,
int  hack 
)

Definition at line 834 of file parsact.cpp.

◆ indepinstall()

void indepinstall ( Symbol n,
const char *  from,
const char *  to,
const char *  with,
const char *  units 
)

Definition at line 96 of file parsact.cpp.

◆ lag_stmt()

void lag_stmt ( Item q1,
int  blocktype 
)

Definition at line 255 of file parsact.cpp.

◆ npyfunc()

static void npyfunc ( Symbol n,
int  hack 
)
static

Definition at line 838 of file parsact.cpp.

◆ nrnmutex()

void nrnmutex ( int  on,
Item q 
)

Definition at line 1053 of file parsact.cpp.

◆ parm_array_install()

void parm_array_install ( Symbol n,
const char *  num,
char *  units,
char *  limits,
int  index 
)

Definition at line 46 of file parsact.cpp.

◆ parminstall()

void parminstall ( Symbol n,
const char *  num,
const char *  units,
const char *  limits 
)

Definition at line 58 of file parsact.cpp.

◆ protect_astmt()

Item* protect_astmt ( Item q1,
Item q2 
)

Definition at line 1045 of file parsact.cpp.

◆ statdefault()

void statdefault ( Symbol n,
int  index,
const char *  units,
Item qs,
int  makeconst 
)

Definition at line 175 of file parsact.cpp.

◆ table_massage()

void table_massage ( List tablist,
Item qtype,
Item qname,
List arglist 
)

Definition at line 398 of file parsact.cpp.

◆ threadsafe()

void threadsafe ( const char *  s)

Definition at line 1037 of file parsact.cpp.

◆ vectorize_replacement_item()

Item* vectorize_replacement_item ( Item q)

Definition at line 756 of file noccout.cpp.

◆ vectorize_scan_for_func()

void vectorize_scan_for_func ( Item q1,
Item q2 
)

Definition at line 219 of file parsact.cpp.

◆ vectorize_use_func()

void vectorize_use_func ( Item qname,
Item qpar1,
Item qexpr,
Item qpar2,
int  blocktype 
)

Definition at line 856 of file parsact.cpp.

◆ watchstmt()

void watchstmt ( Item par1,
Item dir,
Item par2,
Item flag,
int  blocktype 
)

Definition at line 983 of file parsact.cpp.

Variable Documentation

◆ artificial_cell

int artificial_cell
extern

Definition at line 139 of file nocpout.cpp.

◆ assert_threadsafe

int assert_threadsafe
extern

◆ check_table_statements

List* check_table_statements
static

Definition at line 350 of file parsact.cpp.

◆ check_table_thread_list

List* check_table_thread_list
static

Definition at line 369 of file parsact.cpp.

◆ indeplist

List* indeplist

Definition at line 15 of file parsact.cpp.

◆ indepsym

Symbol* indepsym

Definition at line 13 of file parsact.cpp.

◆ indepunits

const char* indepunits = ""
static

Definition at line 94 of file parsact.cpp.

◆ last_func_using_table

Symbol* last_func_using_table
static

Definition at line 351 of file parsact.cpp.

◆ net_event_seen_

int net_event_seen_
extern

Definition at line 169 of file nocpout.cpp.

◆ net_send_seen_

int net_send_seen_
extern

Definition at line 168 of file nocpout.cpp.

◆ point_process

int point_process
extern

Definition at line 138 of file nocpout.cpp.

◆ protect_

int protect_

Definition at line 25 of file parsact.cpp.

◆ protect_include_

int protect_include_

Definition at line 26 of file parsact.cpp.

◆ scop_indep

Symbol* scop_indep

Definition at line 12 of file parsact.cpp.

◆ state_discon_list_

List* state_discon_list_
extern

Definition at line 160 of file nocpout.cpp.

◆ stepsym

Symbol* stepsym

Definition at line 14 of file parsact.cpp.

◆ syminorder

List* syminorder
extern

Definition at line 10 of file init.cpp.

◆ vectorize

int vectorize
extern

Definition at line 78 of file nocpout.cpp.

◆ watch_alloc

List* watch_alloc

Definition at line 16 of file parsact.cpp.

◆ watch_seen_

int watch_seen_
extern

Definition at line 170 of file nocpout.cpp.