Back to index

enigmail  1.4.3
Public Member Functions | Public Attributes | Static Private Attributes
pymake.parserdata.EqCondition Class Reference
Inheritance diagram for pymake.parserdata.EqCondition:
Inheritance graph
Collaboration diagram for pymake.parserdata.EqCondition:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def evaluate
def __str__

Public Attributes


Static Private Attributes

tuple __slots__ = ('exp1', 'exp2', 'expected')

Detailed Description

Definition at line 288 of file

Constructor & Destructor Documentation

def pymake.parserdata.EqCondition.__init__ (   self,

Definition at line 291 of file

00292     def __init__(self, exp1, exp2):
00293         assert isinstance(exp1, (data.Expansion, data.StringExpansion))
00294         assert isinstance(exp2, (data.Expansion, data.StringExpansion))
00296         self.expected = True
00297         self.exp1 = exp1
00298         self.exp2 = exp2

Member Function Documentation

Definition at line 304 of file

00305     def __str__(self):
00306         return "ifeq (expected=%s) %s %s" % (self.expected, self.exp1, self.exp2)

def pymake.parserdata.EqCondition.evaluate (   self,

Definition at line 299 of file

00300     def evaluate(self, makefile):
00301         r1 = self.exp1.resolvestr(makefile, makefile.variables)
00302         r2 = self.exp2.resolvestr(makefile, makefile.variables)
00303         return (r1 == r2) == self.expected

Member Data Documentation

tuple pymake.parserdata.EqCondition.__slots__ = ('exp1', 'exp2', 'expected') [static, private]

Definition at line 289 of file

Definition at line 296 of file

Definition at line 297 of file

Definition at line 295 of file

The documentation for this class was generated from the following file: