![]() |
User Guide
|
details of lexer tokens More...
details of lexer tokens
Classes | |
class | MethodInfo |
Information about integration method. More... | |
Functions | |
bool | needs_neuron_thread_first_arg (const std::string &token) |
Checks if token is one of the functions coming from NEURON/CoreNEURON and needs passing NrnThread* as first argument (typical name of variable nt ) More... | |
TokenType | keyword_type (const std::string &name) |
Return token type for the keyword. More... | |
Variables | |
const static std::map< std::string, TokenType > | keywords |
Keywords from NMODL language. More... | |
const static std::map< std::string, MethodInfo > | methods |
Integration methods available in the NMODL. More... | |
const static std::vector< std::string > | extern_definitions |
const static std::vector< std::string > | need_nt = {"at_time"} |
static const std::vector< std::string > | NEURON_VARIABLES |
Variables from NEURON that are directly used in NMODL. More... | |
TokenType nmodl::details::keyword_type | ( | const std::string & | name | ) |
Return token type for the keyword.
Definition at line 252 of file token_mapping.cpp.
bool nmodl::details::needs_neuron_thread_first_arg | ( | const std::string & | token | ) |
Checks if token
is one of the functions coming from NEURON/CoreNEURON and needs passing NrnThread* as first argument (typical name of variable nt
)
token | Name of function |
Definition at line 235 of file token_mapping.cpp.
|
static |
Definition at line 158 of file token_mapping.cpp.
|
static |
Keywords from NMODL language.
Keywords are defined with key-value pair where key is name from scanner and value is token type used in parser.
Definition at line 36 of file token_mapping.cpp.
|
static |
Integration methods available in the NMODL.
Different integration methods are available in NMODL and they are used with different block types in NMODL. This variable provide list of method names, which blocks they can be used with and whether it is usable with variable timestep.
Definition at line 146 of file token_mapping.cpp.
|
static |
Definition at line 226 of file token_mapping.cpp.
|
static |
Variables from NEURON that are directly used in NMODL.
NEURON exposes certain variable that can be directly used in NMODLvar. The passes like scope checker needs to know if certain variable is undefined and hence these needs to be inserted into symbol table
Definition at line 247 of file token_mapping.cpp.