#include <YStatement.h>
|
| enum | ykind {
yxError = 0,
ycVoid,
ycBoolean,
ycInteger,
ycFloat,
ycString,
ycByteblock,
ycPath,
ycSymbol,
ycList,
ycMap,
ycTerm,
ycEntry,
ycConstant,
ycLocale,
ycFunction,
yePropagate,
yeUnary,
yeBinary,
yeTriple,
yeCompare,
yeLocale,
yeList,
yeMap,
yeTerm,
yeIs,
yeBracket,
yeBlock,
yeReturn,
yeVariable,
yeBuiltin,
yeFunction,
yeReference,
yeFunctionPointer,
yeExpression,
ysTypedef,
ysVariable,
ysFunction,
ysAssign,
ysBracket,
ysIf,
ysWhile,
ysDo,
ysRepeat,
ysExpression,
ysReturn,
ysBreak,
ysContinue,
ysTextdomain,
ysInclude,
ysFilename,
ysImport,
ysBlock,
ysSwitch,
ysStatement,
yiBreakpoint
} |
| |
typedef std::map< std::string,
Y2Namespace * > | module_map |
| |
| static string | toString (ykind kind) |
| |
| static void | disableTracking () |
| |
| static void | enableTracking () |
| |
| virtual void | ref_to (unsigned) const |
| |
| virtual void | unref_to (unsigned) const |
| |
| Ustring | m_name |
| |
| module_map::iterator | m_module |
| |
| static module_map | m_active_modules |
| |
| YSImport::YSImport |
( |
const string & |
name, |
|
|
int |
line = 0 |
|
) |
| |
| YSImport::YSImport |
( |
const string & |
name, |
|
|
Y2Namespace * |
name_space |
|
) |
| |
References Import::m_module, Import::m_name, name(), Import::nameSpace(), Bytecode::pushNamespace(), Bytecode::readCharp(), Bytecode::readInt32(), Bytecode::readType(), SymbolTable::xref(), XREFDEBUG, y2debug, y2milestone, and ycp2error.
| YCPValue YSImport::evaluate |
( |
bool |
cse = false | ) |
|
|
virtual |
| virtual ykind YSImport::kind |
( |
| ) |
const |
|
inlinevirtual |
| string YSImport::name |
( |
| ) |
const |
| std::ostream & YSImport::toStream |
( |
std::ostream & |
str | ) |
const |
|
virtual |
| string YSImport::toString |
( |
void |
| ) |
const |
|
virtual |
| std::ostream & YSImport::toXml |
( |
std::ostream & |
str, |
|
|
int |
indent |
|
) |
| const |
|
virtual |
| constTypePtr YSImport::type |
( |
| ) |
const |
|
inlinevirtual |
Return type of this YCP code (interesting mostly for function calls).
- Returns
- type of the value to be returned after calling evaluate
Reimplemented from YStatement.
References Type::Void.
The documentation for this class was generated from the following files: