Package cssutils :: Module util :: Class Item |
[hide private]
[frames] | no frames]

# Class Item

source code

    object --+
             |
            Item

an item in the seq list of classes (successor to tuple items in old seq)

each item has attributes:

type
  a sematic type like "element", "attribute"
value
  the actual value which may be a string, number etc or an instance of e.g. a CSSComment
line
  NOT IMPLEMENTED YET, may contain the line in the source later

Instance Methods | [hide private]
__init__(self, value, type, line=None, col=None) x.__init__(...) initializes x; see x.__class__.__doc__ for signature | source code
__repr__(self) repr(x) | source code
Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__str__`

Properties | [hide private]
| type
| value
| line
| col
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, value, type, line=None, col=None) (Constructor) | source code
x.__init__(...) initializes x; see x.__class__.__doc__ for signature Overrides: object.__init__ (inherited documentation)

### __repr__(self) (Representation operator) | source code
repr(x) Overrides: object.__repr__ (inherited documentation)

Property Details | [hide private]

### type Get Method: unreachable(self)

### value Get Method: unreachable(self)

### line Get Method: unreachable(self)

### col Get Method: unreachable(self)