Lolly 1.4.27
Loading...
Searching...
No Matches
Functions
parse_string.cpp File Reference
#include "parse_string.hpp"
#include "analyze.hpp"
Include dependency graph for parse_string.cpp:

Go to the source code of this file.

Functions

bool test (parse_string s, string what)
 
tm_ostreamoperator<< (tm_ostream &out, parse_string s)
 

Function Documentation

◆ test()

bool test ( parse_string s,
string what )

Definition at line 98 of file parse_string.cpp.

98 {
99 return s->test (what);
100}
The list class represents a linked list.
Definition list.hpp:48

◆ operator<<()

Definition at line 102 of file parse_string.cpp.

103 {
104 list<string> l= s->l;
105 list<int> p= s->p;
106 while (!is_nil (l)) {
107 out << l->item (p->item, N (l->item));
108 l= l->next;
109 p= p->next;
110 }
111 return out;
112}
int N(array< T > a)
Get the length of the array.
Definition array.hpp:170
bool is_nil(blackbox x)
Definition blackbox.hpp:29