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, val, typ, line=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]
  type
  value
  line

Inherited from object: __class__

Method Details [hide private]

__init__(self, val, typ, line=None)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

Property Details [hide private]

type

Get Method:
unreachable(self)
Set Method:
None
Delete Method:
None

value

Get Method:
unreachable(self)
Set Method:
None
Delete Method:
None

line

Get Method:
unreachable(self)
Set Method:
None
Delete Method:
None