YCPBuiltinBoolean.cc File Reference

#include "ycp/YCPBuiltinBoolean.h"
#include "ycp/YCPBoolean.h"
#include "ycp/YCPCode.h"
#include "ycp/StaticDeclaration.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 YCPElement::isNull().

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 YCPElement::isNull().

Referenced by YCPBuiltinBoolean::YCPBuiltinBoolean().


Variable Documentation


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