proxygen
cpp.ast.Define Class Reference
Inheritance diagram for cpp.ast.Define:
cpp.ast.Node cpp.ast.Node cpp.ast.Node

Public Member Functions

def __init__ (self, start, end, name, definition)
 
def __str__ (self)
 
def __init__ (self, start, end, name, definition)
 
def __str__ (self)
 
def __init__ (self, start, end, name, definition)
 
def __str__ (self)
 
- Public Member Functions inherited from cpp.ast.Node
def __init__ (self, start, end)
 
def IsDeclaration (self)
 
def IsDefinition (self)
 
def IsExportable (self)
 
def Requires (self, node)
 
def XXX__str__ (self)
 
def __repr__ (self)
 
def __init__ (self, start, end)
 
def IsDeclaration (self)
 
def IsDefinition (self)
 
def IsExportable (self)
 
def Requires (self, node)
 
def XXX__str__ (self)
 
def __repr__ (self)
 
def __init__ (self, start, end)
 
def IsDeclaration (self)
 
def IsDefinition (self)
 
def IsExportable (self)
 
def Requires (self, node)
 
def XXX__str__ (self)
 
def __repr__ (self)
 

Public Attributes

 name
 
 definition
 
- Public Attributes inherited from cpp.ast.Node
 start
 
 end
 

Detailed Description

Definition at line 144 of file ast.py.

Constructor & Destructor Documentation

def cpp.ast.Define.__init__ (   self,
  start,
  end,
  name,
  definition 
)

Definition at line 145 of file ast.py.

Referenced by cpp.ast.Define.__init__().

145  def __init__(self, start, end, name, definition):
146  Node.__init__(self, start, end)
147  self.name = name
148  self.definition = definition
149 
def __init__(self, start, end, name, definition)
Definition: ast.py:145
def cpp.ast.Define.__init__ (   self,
  start,
  end,
  name,
  definition 
)

Definition at line 145 of file ast.py.

References cpp.ast.Define.__init__(), cpp.ast.Define.definition, message.name, cpp.ast.Define.name, name, and url_test.name.

145  def __init__(self, start, end, name, definition):
146  Node.__init__(self, start, end)
147  self.name = name
148  self.definition = definition
149 
def __init__(self, start, end, name, definition)
Definition: ast.py:145
def cpp.ast.Define.__init__ (   self,
  start,
  end,
  name,
  definition 
)

Definition at line 145 of file ast.py.

References cpp.ast.Define.__init__(), cpp.ast.Define.definition, message.name, cpp.ast.Define.name, name, and url_test.name.

145  def __init__(self, start, end, name, definition):
146  Node.__init__(self, start, end)
147  self.name = name
148  self.definition = definition
149 
def __init__(self, start, end, name, definition)
Definition: ast.py:145

Member Function Documentation

def cpp.ast.Define.__str__ (   self)

Definition at line 150 of file ast.py.

References cpp.ast.Node._StringHelper(), cpp.ast.Define.definition, message.name, cpp.ast.Define.name, name, and url_test.name.

Referenced by cpp.ast.Define.__str__().

150  def __str__(self):
151  value = '%s %s' % (self.name, self.definition)
152  return self._StringHelper(self.__class__.__name__, value)
153 
154 
def _StringHelper(self, name, suffix)
Definition: ast.py:135
def __str__(self)
Definition: ast.py:150
def cpp.ast.Define.__str__ (   self)

Definition at line 150 of file ast.py.

References cpp.ast.Define.__str__(), cpp.ast.Node._StringHelper(), cpp.ast.Define.definition, message.name, cpp.ast.Define.name, name, and url_test.name.

150  def __str__(self):
151  value = '%s %s' % (self.name, self.definition)
152  return self._StringHelper(self.__class__.__name__, value)
153 
154 
def _StringHelper(self, name, suffix)
Definition: ast.py:135
def __str__(self)
Definition: ast.py:150
def cpp.ast.Define.__str__ (   self)

Definition at line 150 of file ast.py.

References cpp.ast.Define.__str__(), cpp.ast.Node._StringHelper(), cpp.ast.Define.definition, message.name, cpp.ast.Define.name, name, and url_test.name.

150  def __str__(self):
151  value = '%s %s' % (self.name, self.definition)
152  return self._StringHelper(self.__class__.__name__, value)
153 
154 
def _StringHelper(self, name, suffix)
Definition: ast.py:135
def __str__(self)
Definition: ast.py:150

Member Data Documentation

cpp.ast.Define.definition

Definition at line 148 of file ast.py.

Referenced by cpp.ast.Define.__init__(), and cpp.ast.Define.__str__().


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