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

Public Member Functions

def __init__ (self, start, end, name, templated_types, modifiers, reference, pointer, array)
 
def __str__ (self)
 
def IsDeclaration (self)
 
def IsDefinition (self)
 
def IsExportable (self)
 
- Public Member Functions inherited from cpp.ast._GenericDeclaration
def __init__ (self, start, end, name, namespace)
 
def FullName (self)
 
- Public Member Functions inherited from cpp.ast.Node
def __init__ (self, start, end)
 
def __repr__ (self)
 
def IsDeclaration (self)
 
def IsDefinition (self)
 
def IsExportable (self)
 
def Requires (self, node)
 
def XXX__str__ (self)
 

Public Attributes

 array
 
 modifiers
 
 name
 
 pointer
 
 reference
 
 templated_types
 
- Public Attributes inherited from cpp.ast._GenericDeclaration
 name
 
 namespace
 
- Public Attributes inherited from cpp.ast.Node
 end
 
 start
 

Detailed Description

Type used for any variable (eg class, primitive, struct, etc).

Definition at line 408 of file ast.py.

Constructor & Destructor Documentation

def cpp.ast.Type.__init__ (   self,
  start,
  end,
  name,
  templated_types,
  modifiers,
  reference,
  pointer,
  array 
)
Args:
  name: str name of main type
  templated_types: [Class (Type?)] template type info between <>
  modifiers: [str] type modifiers (keywords) eg, const, mutable, etc.
  reference, pointer, array: bools

Definition at line 412 of file ast.py.

Member Function Documentation

def cpp.ast.Type.__str__ (   self)

Definition at line 429 of file ast.py.

def cpp.ast.Type.IsDeclaration (   self)

Definition at line 447 of file ast.py.

def cpp.ast.Type.IsDefinition (   self)

Definition at line 450 of file ast.py.

def cpp.ast.Type.IsExportable (   self)

Definition at line 453 of file ast.py.

Member Data Documentation

cpp.ast.Type.array

Definition at line 427 of file ast.py.

cpp.ast.Type.modifiers

Definition at line 424 of file ast.py.

cpp.ast.Type.name

Definition at line 423 of file ast.py.

cpp.ast.Type.pointer

Definition at line 426 of file ast.py.

cpp.ast.Type.reference

Definition at line 425 of file ast.py.

cpp.ast.Type.templated_types

Definition at line 421 of file ast.py.


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


ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Tue Jan 19 2021 03:12:09