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

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 YaST::ee, YCPElement::isNull(), 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 YaST::ee, YCPElement::isNull(), and ycp2warning.

Referenced by YCPBuiltinBoolean::YCPBuiltinBoolean().

Variable Documentation

StaticDeclaration static_declarations

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