Special type of a Function which corresponds to the Association expression when exchanged with the Kernel via WSStream.
#include <Utilities.h>
◆ Association() [1/2]
| LLU::WS::Association::Association |
( |
| ) |
|
|
inline |
Default constructor - sets "Association" to be the head of expression with no arguments.
◆ Association() [2/2]
| LLU::WS::Association::Association |
( |
int |
argCount | ) |
|
|
inlineexplicit |
Create a WSStream-compatible structure that corresponds to an Association with given number of arguments.
- Parameters
-
| argCount | - number of arguments for the Association expression |
◆ getArgc()
| int LLU::WS::Function::getArgc |
( |
| ) |
const |
|
inherited |
Get argument count.
- Returns
- number of arguments this function takes
◆ getHead()
| const std::string & LLU::WS::Symbol::getHead |
( |
| ) |
const |
|
inherited |
Get Symbol name/head.
- Returns
- head
◆ setArgc()
| void LLU::WS::Function::setArgc |
( |
int |
newArgc | ) |
|
|
inherited |
Set argument count.
- Parameters
-
| newArgc | - new value for argument count |
◆ setHead()
| void LLU::WS::Symbol::setHead |
( |
std::string |
h | ) |
|
|
inherited |
Set Symbol name/head.
- Parameters
-