yast2-core
Functions | Variables
YCPBuiltinBoolean.cc File Reference
#include "ycp/YCPBuiltinBoolean.h"
#include "ycp/YCPBoolean.h"
#include "ycp/YCPCode.h"
#include "ycp/StaticDeclaration.h"
#include "ycp/y2log.h"
#include "ycp/ExecutionEnvironment.h"

Functions

static YCPValue b_lnot (const YCPBoolean &b)
static YCPValue b_or (const YCPCode &b1, const YCPCode &b2)
static YCPValue b_and (const YCPCode &b1, const YCPCode &b2)

Variables

ExecutionEnvironment ee
StaticDeclaration static_declarations

Function Documentation

static YCPValue b_and ( const YCPCode b1,
const YCPCode b2 
) [static]

boolean b1 && boolean b2 -> boolean Logical and for booleans.

Example:

 false && true -> false
 

References ExecutionEnvironment::filename(), YCPElement::isNull(), ExecutionEnvironment::linenumber(), and ycp2warning.

Referenced by YCPBuiltinBoolean::YCPBuiltinBoolean().

static YCPValue b_lnot ( const YCPBoolean b) [static]

! boolean b -> boolean Logical not for booleans.

Example:

 !false -> true
 

References YCPElement::isNull().

Referenced by YCPBuiltinBoolean::YCPBuiltinBoolean().

static YCPValue b_or ( const YCPCode b1,
const YCPCode b2 
) [static]

boolean b1 || boolean b2 -> boolean Logical or for booleans.

Example:

 false || true -> true
 

References ExecutionEnvironment::filename(), YCPElement::isNull(), ExecutionEnvironment::linenumber(), and ycp2warning.

Referenced by YCPBuiltinBoolean::YCPBuiltinBoolean().


Variable Documentation


Generated on a sunny day for yast2-core by doxygen 1.7.5.1