Logo Search packages:      
Sourcecode: xcb-proto version File versions

xcbgen::expr::Expression Class Reference

List of all members.


Detailed Description

Represents a mathematical expression for a list length or exprfield.

Public fields:
op is the operation (text +,*,/,<<) or None.
lhs and rhs are the sub-Expressions if op is set.
lenfield_name is the name of the length field, or None for request lists.
lenfield is the Field object for the length field, or None.
bitfield is True if the length field is a bitmask instead of a number.
nmemb is the fixed size (value)of the expression, or None

Definition at line 24 of file expr.py.


Public Member Functions

def __init__
def fixed_size

Public Attributes

 bitfield
 lenfield
 lenfield_name
 lenfield_type
 lenwire
 lhs
 nmemb
 op
 parent
 rhs

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

Generated by  Doxygen 1.6.0   Back to index