Public Member Functions | Public Attributes | Static Public Attributes | List of all members
gtwrap.interface_parser.enum.Enumerator Class Reference

Public Member Functions

def __init__ (self, name)
 
def __repr__ (self)
 

Public Attributes

 name
 

Static Public Attributes

tuple rule
 

Detailed Description

Rule to parse an enumerator inside an enum.

Definition at line 20 of file enum.py.

Constructor & Destructor Documentation

◆ __init__()

def gtwrap.interface_parser.enum.Enumerator.__init__ (   self,
  name 
)

Definition at line 27 of file enum.py.

Member Function Documentation

◆ __repr__()

def gtwrap.interface_parser.enum.Enumerator.__repr__ (   self)

Definition at line 30 of file enum.py.

Member Data Documentation

◆ name

gtwrap.interface_parser.enum.Enumerator.name

Definition at line 28 of file enum.py.

◆ rule

tuple gtwrap.interface_parser.enum.Enumerator.rule
static
Initial value:
= (
IDENT("enumerator")).setParseAction(lambda t: Enumerator(t.enumerator))

Definition at line 24 of file enum.py.


The documentation for this class was generated from the following file:
gtwrap.interface_parser.tokens.IDENT
IDENT
Definition: tokens.py:19


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:16:45