Public Member Functions | Public Attributes | List of all members
cpp.ast.VariableDeclaration Class Reference
Inheritance diagram for cpp.ast.VariableDeclaration:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, start, end, name, var_type, initial_value, namespace)
 
def __init__ (self, start, end, name, var_type, initial_value, namespace)
 
def __init__ (self, start, end, name, var_type, initial_value, namespace)
 
def __str__ (self)
 
def __str__ (self)
 
def __str__ (self)
 
def Requires (self, node)
 
def Requires (self, node)
 
def Requires (self, node)
 
def ToString (self)
 
def ToString (self)
 
def ToString (self)
 
- Public Member Functions inherited from cpp.ast._GenericDeclaration
def __init__ (self, start, end, name, namespace)
 
def __init__ (self, start, end, name, namespace)
 
def __init__ (self, start, end, name, namespace)
 
def FullName (self)
 
def FullName (self)
 
def FullName (self)
 
- Public Member Functions inherited from cpp.ast.Node
def __init__ (self, start, end)
 
def __init__ (self, start, end)
 
def __init__ (self, start, end)
 
def __repr__ (self)
 
def __repr__ (self)
 
def __repr__ (self)
 
def IsDeclaration (self)
 
def IsDeclaration (self)
 
def IsDeclaration (self)
 
def IsDefinition (self)
 
def IsDefinition (self)
 
def IsDefinition (self)
 
def IsExportable (self)
 
def IsExportable (self)
 
def IsExportable (self)
 
def XXX__str__ (self)
 
def XXX__str__ (self)
 
def XXX__str__ (self)
 

Public Attributes

 initial_value
 
 type
 
- Public Attributes inherited from cpp.ast._GenericDeclaration
 name
 
 namespace
 
- Public Attributes inherited from cpp.ast.Node
 end
 
 start
 

Detailed Description

Definition at line 252 of file bloaty/third_party/googletest/googlemock/scripts/generator/cpp/ast.py.

Constructor & Destructor Documentation

◆ __init__() [1/3]

def cpp.ast.VariableDeclaration.__init__ (   self,
  start,
  end,
  name,
  var_type,
  initial_value,
  namespace 
)

◆ __init__() [2/3]

def cpp.ast.VariableDeclaration.__init__ (   self,
  start,
  end,
  name,
  var_type,
  initial_value,
  namespace 
)

◆ __init__() [3/3]

def cpp.ast.VariableDeclaration.__init__ (   self,
  start,
  end,
  name,
  var_type,
  initial_value,
  namespace 
)

Member Function Documentation

◆ __str__() [1/3]

def cpp.ast.VariableDeclaration.__str__ (   self)

◆ __str__() [2/3]

def cpp.ast.VariableDeclaration.__str__ (   self)

◆ __str__() [3/3]

def cpp.ast.VariableDeclaration.__str__ (   self)

◆ Requires() [1/3]

def cpp.ast.VariableDeclaration.Requires (   self,
  node 
)
Does this AST node require the definition of the node passed in?

Reimplemented from cpp.ast.Node.

Definition at line 258 of file protobuf/third_party/googletest/googlemock/scripts/generator/cpp/ast.py.

◆ Requires() [2/3]

def cpp.ast.VariableDeclaration.Requires (   self,
  node 
)
Does this AST node require the definition of the node passed in?

Reimplemented from cpp.ast.Node.

Definition at line 258 of file bloaty/third_party/protobuf/third_party/googletest/googlemock/scripts/generator/cpp/ast.py.

◆ Requires() [3/3]

def cpp.ast.VariableDeclaration.Requires (   self,
  node 
)
Does this AST node require the definition of the node passed in?

Reimplemented from cpp.ast.Node.

Definition at line 258 of file bloaty/third_party/googletest/googlemock/scripts/generator/cpp/ast.py.

◆ ToString() [1/3]

def cpp.ast.VariableDeclaration.ToString (   self)
Return a string that tries to reconstitute the variable decl.

Definition at line 262 of file bloaty/third_party/googletest/googlemock/scripts/generator/cpp/ast.py.

◆ ToString() [2/3]

def cpp.ast.VariableDeclaration.ToString (   self)
Return a string that tries to reconstitute the variable decl.

Definition at line 262 of file bloaty/third_party/protobuf/third_party/googletest/googlemock/scripts/generator/cpp/ast.py.

◆ ToString() [3/3]

def cpp.ast.VariableDeclaration.ToString (   self)
Return a string that tries to reconstitute the variable decl.

Definition at line 262 of file protobuf/third_party/googletest/googlemock/scripts/generator/cpp/ast.py.

Member Data Documentation

◆ initial_value

cpp.ast.VariableDeclaration.initial_value

◆ type

cpp.ast.VariableDeclaration.type

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:09