Changeset View
Changeset View
Standalone View
Standalone View
analitza/htmlexpressionwriter.cpp
Show First 20 Lines • Show All 148 Lines • ▼ Show 20 Line(s) | 136 | { | |||
---|---|---|---|---|---|
149 | } | 149 | } | ||
150 | else if(a->domain()) | 150 | else if(a->domain()) | ||
151 | bounds += oper('@')+a->domain()->accept(this).toString(); | 151 | bounds += oper('@')+a->domain()->accept(this).toString(); | ||
152 | 152 | | |||
153 | int i = 0; | 153 | int i = 0; | ||
154 | foreach(Object* o, a->m_params) { | 154 | foreach(Object* o, a->m_params) { | ||
155 | Object::ObjectType type=o->type(); | 155 | Object::ObjectType type=o->type(); | ||
156 | switch(type) { | 156 | switch(type) { | ||
157 | if(type == Object::oper) | 157 | case Object::oper: | ||
158 | Q_ASSERT(false); | 158 | Q_ASSERT(false); | ||
159 | break; | 159 | break; | ||
160 | case Object::variable: | 160 | case Object::variable: | ||
161 | ret << static_cast<const Ci*>(o)->accept(this).toString(); | 161 | ret << static_cast<const Ci*>(o)->accept(this).toString(); | ||
162 | break; | 162 | break; | ||
163 | case Object::apply: { | 163 | case Object::apply: { | ||
164 | Apply *c = (Apply*) o; | 164 | Apply *c = (Apply*) o; | ||
165 | QString s = c->accept(this).toString(); | 165 | QString s = c->accept(this).toString(); | ||
▲ Show 20 Lines • Show All 109 Lines • Show Last 20 Lines |