Module Expr Str TryExcept body Import alias identifier handlers ExceptHandler type NameLoad body Import alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr BinOpSub Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr orelse Return NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareNotEq Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpMod Str NameLoad Assign NameStore Call SubscriptLoad Call NameLoad Index NameLoad Return NameLoad decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd CompareNotEq AttributeLoad NameLoad attr NameLoad CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Num For NameStore AttributeLoad NameLoad attr body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Return Num Return Num decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Return Num If CompareNotEq AttributeLoad NameLoad attr NameLoad body For NameStore Call AttributeLoad NameLoad attr body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return Num orelse Return Num Return Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Return If CompareNotEq AttributeLoad NameLoad attr NameLoad body For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Return If CompareNotEq AttributeLoad NameLoad attr NameLoad body For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Return If CompareNotEq AttributeLoad NameLoad attr NameLoad body For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad orelse For NameStore AttributeLoad NameLoad attr body If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Return Num Return Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareNotEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd BoolOpOr CompareEq AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad body If CompareNotEq AttributeLoad NameLoad attr NameLoad body For NameStore Call AttributeLoad NameLoad attr body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad orelse Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd BoolOpOr CompareEq AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad body If CompareNotEq AttributeLoad NameLoad attr NameLoad body For NameStore Call AttributeLoad NameLoad attr body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad Return NameLoad orelse Return NameLoad orelse For NameStore Call AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call AttributeLoad NameLoad attr NameLoad body Return NameLoad orelse For NameStore Call AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If Call AttributeLoad NameLoad attr NameLoad body For NameStore AttributeLoad NameLoad attr body If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad ImportFrom alias Assign AttributeStore NameLoad attr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareEq Call NameLoad NameLoad Num body Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareEq Call NameLoad NameLoad Num body Return NameLoad orelse Return NameLoad decorator_list decorator_list Assign NameStore Dict FunctionDef arguments args NameParam defaults body If CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad Return SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad attr NameLoad decorator_list
N/A N/A 
XPath query support.

This module provides L{XPathQuery} to match
L{domish.Element<twisted.words.xish.domish.Element>} instances against
XPath-like expressions.
 N/A N/A N/A cStringIO StringIO N/A N/A N/A ImportError N/A N/A StringIO LiteralValue N/A str N/A value N/A N/A self elem N/A N/A N/A self N/A N/A IndexValue N/A N/A __init__ N/A N/A self index N/A N/A N/A N/A self index N/A N/A int index 1 N/A value N/A N/A self elem N/A N/A N/A N/A N/A elem children N/A N/A self index N/A N/A AttribValue N/A N/A __init__ N/A N/A self attribname N/A N/A N/A N/A self attribname attribname N/A N/A N/A self attribname xmlns N/A N/A N/A self value N/A self value_ns N/A value_ns N/A N/A self elem N/A N/A N/A N/A elem uri N/A value N/A N/A self elem N/A N/A N/A N/A N/A self attribname N/A elem attributes N/A N/A N/A N/A elem attributes N/A N/A self attribname N/A N/A None N/A N/A CompareValue N/A N/A __init__ N/A N/A self lhs op rhs N/A N/A N/A N/A self lhs lhs N/A N/A self rhs rhs N/A N/A op = N/A N/A N/A self value N/A self _compareEqual N/A N/A N/A self value N/A self _compareNotEqual N/A _compareEqual N/A N/A self elem N/A N/A N/A N/A N/A N/A N/A self lhs value elem N/A N/A N/A self rhs value elem N/A _compareNotEqual N/A N/A self elem N/A N/A N/A N/A N/A N/A N/A self lhs value elem N/A N/A N/A self rhs value elem N/A N/A BooleanValue N/A N/A N/A 
    Provide boolean XPath expression operators.

    @ivar lhs: Left hand side expression of the operator.
    @ivar op: The operator. One of C{'and'}, C{'or'}.
    @ivar rhs: Right hand side expression of the operator.
    @ivar value: Reference to the method that will calculate the value of
                 this expression given an element.
     __init__ N/A N/A self lhs op rhs N/A N/A N/A N/A self lhs lhs N/A N/A self rhs rhs N/A N/A op and N/A N/A N/A self value N/A self _booleanAnd N/A N/A N/A self value N/A self _booleanOr N/A _booleanAnd N/A N/A self elem N/A N/A N/A 
        Calculate boolean and of the given expressions given an element.

        @param elem: The element to calculate the value of the expression from.
         N/A N/A N/A N/A N/A self lhs value elem N/A N/A N/A self rhs value elem N/A _booleanOr N/A N/A self elem N/A N/A N/A 
        Calculate boolean or of the given expressions given an element.

        @param elem: The element to calculate the value of the expression from.
         N/A N/A N/A N/A N/A self lhs value elem N/A N/A N/A self rhs value elem N/A N/A Function N/A N/A fname N/A N/A N/A 
    Internal method which selects the function object
     N/A klassname N/A _%s_Function fname N/A c N/A N/A N/A globals N/A klassname N/A c N/A _not_Function N/A N/A __init__ N/A N/A self N/A N/A N/A N/A self baseValue None N/A setParams N/A N/A self baseValue N/A N/A N/A N/A self baseValue baseValue N/A value N/A N/A self elem N/A N/A N/A N/A N/A N/A N/A self baseValue value elem N/A N/A _text_Function N/A N/A setParams N/A N/A self N/A N/A N/A N/A value N/A N/A self elem N/A N/A N/A N/A str elem N/A N/A _Location N/A N/A __init__ N/A N/A self N/A N/A N/A N/A self predicates N/A N/A N/A self elementName None N/A N/A self childLocation None N/A matchesPredicates N/A N/A self elem N/A N/A N/A N/A N/A N/A self elementName None N/A N/A self elementName N/A elem name N/A N/A 0 N/A p N/A self predicates N/A N/A N/A N/A N/A p value elem N/A N/A 0 N/A 1 N/A matches N/A N/A self elem N/A N/A N/A N/A N/A N/A self matchesPredicates elem N/A N/A 0 N/A N/A N/A self childLocation None N/A N/A c N/A N/A elem elements N/A N/A N/A N/A N/A self childLocation matches c N/A N/A 1 N/A N/A 1 N/A 0 N/A queryForString N/A N/A self elem resultbuf N/A N/A N/A N/A N/A N/A self matchesPredicates elem N/A N/A N/A N/A N/A self childLocation None N/A N/A c N/A N/A elem elements N/A N/A N/A N/A N/A self childLocation queryForString c resultbuf N/A N/A N/A N/A resultbuf write N/A str elem N/A queryForNodes N/A N/A self elem resultlist N/A N/A N/A N/A N/A N/A self matchesPredicates elem N/A N/A N/A N/A N/A self childLocation None N/A N/A c N/A N/A elem elements N/A N/A N/A N/A N/A self childLocation queryForNodes c resultlist N/A N/A N/A N/A resultlist append elem N/A queryForStringList N/A N/A self elem resultlist N/A N/A N/A N/A N/A N/A self matchesPredicates elem N/A N/A N/A N/A N/A self childLocation None N/A N/A c N/A N/A elem elements N/A N/A N/A N/A N/A self childLocation queryForStringList c resultlist N/A N/A c N/A elem children N/A N/A N/A isinstance c N/A str unicode N/A N/A N/A N/A resultlist append c N/A N/A _AnyLocation N/A N/A __init__ N/A N/A self N/A N/A N/A N/A self predicates N/A N/A N/A self elementName None N/A N/A self childLocation None N/A matchesPredicates N/A N/A self elem N/A N/A N/A p N/A self predicates N/A N/A N/A N/A N/A p value elem N/A N/A 0 N/A 1 N/A listParents N/A N/A self elem parentlist N/A N/A N/A N/A N/A elem parent None N/A N/A N/A N/A self listParents N/A elem parent parentlist N/A N/A N/A parentlist append N/A elem name N/A isRootMatch N/A N/A self elem N/A N/A N/A N/A N/A N/A N/A self elementName None N/A N/A self elementName N/A elem name N/A N/A self matchesPredicates elem N/A N/A N/A N/A self childLocation None N/A N/A c N/A N/A elem elements N/A N/A N/A N/A N/A self childLocation matches c N/A N/A True N/A N/A True N/A False N/A findFirstRootMatch N/A N/A self elem N/A N/A N/A N/A N/A N/A N/A self elementName None N/A N/A self elementName N/A elem name N/A N/A self matchesPredicates elem N/A N/A N/A N/A self childLocation None N/A N/A c N/A N/A elem elements N/A N/A N/A N/A N/A self childLocation matches c N/A N/A c N/A None N/A N/A elem N/A N/A c N/A N/A elem elements N/A N/A N/A N/A self matches c N/A N/A c N/A None N/A matches N/A N/A self elem N/A N/A N/A N/A N/A self isRootMatch elem N/A N/A True N/A N/A c N/A N/A elem elements N/A N/A N/A N/A self matches c N/A N/A True N/A False N/A queryForString N/A N/A self elem resultbuf N/A N/A N/A N/A NotImplementedError queryForString is not implemented for any location N/A queryForNodes N/A N/A self elem resultlist N/A N/A N/A N/A N/A self isRootMatch elem N/A N/A N/A N/A resultlist append elem N/A c N/A N/A elem elements N/A N/A N/A N/A self queryForNodes c resultlist N/A queryForStringList N/A N/A self elem resultlist N/A N/A N/A N/A N/A self isRootMatch elem N/A N/A c N/A elem children N/A N/A N/A isinstance c N/A str unicode N/A N/A N/A N/A resultlist append c N/A c N/A N/A elem elements N/A N/A N/A N/A self queryForStringList c resultlist N/A N/A XPathQuery N/A N/A __init__ N/A N/A self queryStr N/A N/A N/A N/A self queryStr queryStr twisted.words.xish.xpathparser parse N/A N/A self baseLocation N/A parse XPATH queryStr N/A __hash__ N/A N/A self N/A N/A N/A N/A N/A N/A self queryStr __hash__ N/A matches N/A N/A self elem N/A N/A N/A N/A N/A N/A self baseLocation matches elem N/A queryForString N/A N/A self elem N/A N/A N/A result N/A N/A StringIO StringIO N/A N/A N/A N/A self baseLocation queryForString elem result N/A N/A N/A result getvalue N/A queryForNodes N/A N/A self elem N/A N/A N/A result N/A N/A N/A N/A N/A self baseLocation queryForNodes elem result N/A N/A N/A len result 0 N/A N/A None N/A N/A result N/A queryForStringList N/A N/A self elem N/A N/A N/A result N/A N/A N/A N/A N/A self baseLocation queryForStringList elem result N/A N/A N/A len result 0 N/A N/A None N/A N/A result N/A N/A N/A __internedQueries N/A internQuery N/A N/A queryString N/A N/A N/A N/A queryString __internedQueries N/A N/A N/A __internedQueries N/A queryString N/A XPathQuery queryString N/A N/A __internedQueries N/A queryString N/A matches N/A N/A xpathstr elem N/A N/A N/A N/A N/A N/A internQuery xpathstr matches elem N/A queryForStringList N/A N/A xpathstr elem N/A N/A N/A N/A N/A N/A internQuery xpathstr queryForStringList elem N/A queryForString N/A N/A xpathstr elem N/A N/A N/A N/A N/A N/A internQuery xpathstr queryForString elem N/A queryForNodes N/A N/A xpathstr elem N/A N/A N/A N/A N/A N/A internQuery xpathstr queryForNodes elem N/A