75 std::ostream &
toXml (std::ostream & str,
int indent )
const;
97 std::ostream &
toStream (std::ostream & str)
const;
98 std::ostream &
toXml (std::ostream & str,
int indent )
const;
116 std::ostream &
toStream (std::ostream & str)
const;
117 std::ostream &
toXml (std::ostream & str,
int indent )
const;
137 std::ostream &
toStream (std::ostream &
str)
const;
138 std::ostream &
toXml (std::ostream & str,
int indent )
const;
159 std::ostream &
toStream (std::ostream &
str)
const;
160 std::ostream &
toXml (std::ostream & str,
int indent )
const;
180 void propagate (constTypePtr from, constTypePtr to);
181 YCodePtr value ()
const;
184 std::ostream &
toStream (std::ostream &
str)
const;
185 std::ostream &
toXml (std::ostream & str,
int indent )
const;
207 std::ostream &
toStream (std::ostream &
str)
const;
208 std::ostream &
toXml (std::ostream & str,
int indent )
const;
232 SymbolEntryPtr entry ()
const;
235 YFunctionPtr
function ()
const;
238 std::ostream &
toStream (std::ostream &
str)
const;
239 std::ostream &
toXml (std::ostream & str,
int indent )
const;
258 YSAssign (SymbolEntryPtr entry, YCodePtr code,
int line = 0);
263 std::ostream &
toStream (std::ostream &
str)
const;
264 std::ostream &
toXml (std::ostream & str,
int indent )
const;
300 YSBracket (SymbolEntryPtr entry, YCodePtr arg, YCodePtr code,
int line = 0);
305 std::ostream &
toStream (std::ostream &
str)
const;
306 std::ostream &
toXml (std::ostream & str,
int indent )
const;
327 YSIf (YCodePtr a_expr, YCodePtr a_true, YCodePtr a_false,
int line = 0);
332 std::ostream &
toStream (std::ostream &
str)
const;
333 std::ostream &
toXml (std::ostream & str,
int indent )
const;
351 YSWhile (YCodePtr expr, YCodePtr loop,
int line = 0);
356 std::ostream &
toStream (std::ostream &
str)
const;
357 std::ostream &
toXml (std::ostream & str,
int indent )
const;
380 std::ostream &
toStream (std::ostream &
str)
const;
381 std::ostream &
toXml (std::ostream & str,
int indent )
const;
399 YSDo (YCodePtr loop, YCodePtr expr,
int line = 0);
404 std::ostream &
toStream (std::ostream &
str)
const;
405 std::ostream &
toXml (std::ostream & str,
int indent )
const;
426 std::ostream &
toStream (std::ostream &
str)
const;
427 std::ostream &
toXml (std::ostream & str,
int indent )
const;
430 const char *
domain ()
const {
return m_domain->c_str(); };
447 YSInclude (
const string &filename,
int line = 0,
bool skipped =
false);
452 std::ostream &
toStream (std::ostream &
str)
const;
453 std::ostream &
toXml (std::ostream & str,
int indent )
const;
474 string name ()
const;
476 std::ostream &
toStream (std::ostream & str)
const;
477 std::ostream &
toXml (std::ostream & str,
int indent )
const;
498 std::ostream &
toStream (std::ostream &
str)
const;
499 std::ostream &
toXml (std::ostream & str,
int indent )
const;
526 string name ()
const;
528 std::ostream &
toStream (std::ostream &
str)
const;
529 std::ostream &
toXml (std::ostream & str,
int indent )
const;
534 bool setDefaultCase ();
535 void setBlock (YBlockPtr block);
539 #endif // YStatement_h constTypePtr type() const
Definition: YStatement.h:359
Definition: YStatement.h:344
SymbolEntryPtr m_entry
Definition: YStatement.h:296
SymbolEntryPtr m_entry
Definition: YStatement.h:255
constTypePtr type() const
Definition: YStatement.h:429
YCode for precompiled ycp code.
Definition: YCode.h:75
YCodePtr m_false
Definition: YStatement.h:325
constTypePtr type() const
Definition: YStatement.h:140
constTypePtr type() const
Definition: YStatement.h:407
Ustring m_domain
Definition: YStatement.h:419
YSymbolEntryPtr m_entry
Definition: YStatement.h:223
#define str
Definition: scanner.cc:1003
virtual ykind kind() const
Definition: YStatement.h:473
Definition: YStatement.h:196
Ustring m_name
Definition: YStatement.h:199
virtual ykind kind() const
Definition: YStatement.h:114
Definition: YStatement.h:171
virtual ykind kind() const
Definition: YStatement.h:282
constTypePtr m_type
Definition: YStatement.h:200
ykind
Definition: YCode.h:90
YCodePtr m_loop
Definition: YStatement.h:348
DEFINE_DERIVED_POINTER(YStatement, YCode)
YBlockPtr m_block
Definition: YStatement.h:513
constTypePtr type() const
Definition: YStatement.h:531
Definition: YStatement.h:441
virtual ykind kind() const
Definition: YStatement.h:525
Definition: YStatement.h:149
int line() const
Definition: YStatement.h:78
~YSTypedef()
Definition: YStatement.h:204
virtual ykind kind() const
Definition: YStatement.h:229
Definition: YStatement.h:127
Definition: YStatement.h:65
YStatement(int line=0)
Definition: YStatement.cc:73
YCodePtr m_code
Definition: YStatement.h:298
Definition: YStatement.h:488
YCodePtr m_condition
Definition: YStatement.h:372
constTypePtr type() const
Definition: YStatement.h:210
Definition: YStatement.h:392
Definition: YStatement.h:368
virtual YCPValue evaluate(bool cse=false)
Definition: YStatement.cc:98
virtual string toString() const
Definition: YStatement.cc:91
constTypePtr type() const
Definition: YStatement.h:80
YBlockPtr m_block
Definition: YStatement.h:152
YCodePtr m_condition
Definition: YStatement.h:396
enters the component to the broker s list in the given order Y2Component int int current_level same as but for external components which may reside in different directories The level identifies the directory prefix from the list defined in pathsearch cc bool false for clients bool true for clients Catalog of component take it if we can stat it and it is not take it if we can t stat it and its line matches in current level only name
Definition: componentcreator.txt:34
virtual ykind kind() const
Definition: YStatement.h:261
Definition: YStatement.h:89
int m_defaultcase
Definition: YStatement.h:516
Ustring m_filename
Definition: YStatement.h:444
virtual ykind kind() const
Definition: YStatement.h:354
Definition: YStatement.h:320
virtual ykind kind() const
Definition: YStatement.h:450
instantiate to import a module
Definition: Import.h:36
Definition: YStatement.h:275
constTypePtr type() const
Definition: YStatement.h:501
virtual ykind kind() const
Definition: YStatement.h:179
int m_line
Definition: YStatement.h:68
constTypePtr type() const
Definition: YStatement.h:311
constTypePtr type() const
Definition: YStatement.h:241
YCodePtr m_condition
Definition: YStatement.h:347
constTypePtr type() const
Definition: YStatement.h:335
constTypePtr type() const
Definition: YStatement.h:187
Unique strings.
Definition: Ustring.h:124
bool m_skipped
Definition: YStatement.h:445
constTypePtr type() const
Definition: YStatement.h:455
virtual bool isStatement() const
Definition: YStatement.h:77
virtual ykind kind() const
Definition: YStatement.h:378
constTypePtr type() const
Definition: YStatement.h:383
YCodePtr m_value
Definition: YStatement.h:174
YCodePtr m_code
Definition: YStatement.h:256
string filename() const
Definition: YStatement.h:456
Wrapper for YCPListRep This class realizes an automatic memory management via YCPElement. Access the functionality of YCPListRep with the arrow operator. See YCPListRep.
Definition: YCPList.h:236
YCodePtr m_true
Definition: YStatement.h:324
YCodePtr m_condition
Definition: YStatement.h:323
virtual ykind kind() const
Definition: YStatement.h:205
constTypePtr type() const
Definition: YStatement.h:479
virtual ykind kind() const
Definition: YStatement.h:424
Definition: YStatement.h:108
YCodePtr m_expr
Definition: YStatement.h:130
YCodePtr m_condition
Definition: YStatement.h:512
virtual ykind kind() const
Definition: YStatement.h:95
Definition: YStatement.h:293
map< YCPValue, int, ycp_less > m_cases
Definition: YStatement.h:519
virtual ykind kind() const
Definition: YStatement.h:402
const char * domain() const
Definition: YStatement.h:430
Wrapper for YCPValueRep This class realizes an automatic memory management via YCPElement. Access the functionality of YCPValueRep with the arrow operator. See YCPValueRep.
Definition: YCPValue.h:275
virtual ykind kind() const
Definition: YStatement.h:330
Definition: YStatement.h:416
virtual ykind kind() const
Definition: YStatement.h:135
std::ostream & toStream(std::ostream &str) const
Definition: YStatement.cc:108
Definition: Y2Namespace.h:43
YCodePtr m_arg
Definition: YStatement.h:297
std::ostream & toXml(std::ostream &str, int indent) const
Definition: YStatement.cc:118
~YStatement()
Definition: YStatement.h:72
An istream that remembers some data about the bytecode.
Definition: Bytecode.h:42
static const constTypePtr Void
Definition: Type.h:122
Definition: YStatement.h:251
constTypePtr type() const
Definition: YStatement.h:162
YCodePtr m_loop
Definition: YStatement.h:371
Definition: YStatement.h:219
virtual ykind kind() const
Definition: YStatement.h:157
YCodePtr m_loop
Definition: YStatement.h:395
Definition: YStatement.h:509
virtual ykind kind() const
Definition: YStatement.h:303
Definition: YStatement.h:465
constTypePtr conditionType() const
Definition: YStatement.h:532
Ustring m_filename
Definition: YStatement.h:491
virtual ykind kind() const
Definition: YStatement.h:496