Method | Description | |
---|---|---|
IsHtml ( string text ) : bool |
Return true of the text appears to be HTML (e.g. starts with a caret)
|
|
Parse ( string selector ) : CsQuery.Engine.Selector |
Parse the string, and return a sequence of Selector objects
|
Method | Description | |
---|---|---|
ClearCurrent ( ) : void |
Clear the currently open selector
|
|
FinishSelector ( ) : void |
Finishes any open selector and clears the current selector
|
|
StartNewSelector ( CombinatorType combinatorType, TraversalType traversalType ) : void |
Start a new selector that does not yet have a type specified
|
|
StartNewSelector ( SelectorType selectorType ) : void |
Start a new chained filter selector of the specified type.
|
|
StartNewSelector ( SelectorType selectorType, CombinatorType combinatorType, TraversalType traversalType ) : void |
Close the currently active selector. If it's partial (e.g. a descendant/child marker) then merge its into into the new selector created.
|
|
StartNewSelector ( TraversalType traversalType ) : void |
Start a new chained selector that does not yet have a type specified
|
|
expectsOptionallyQuotedValue ( ) : IExpectPattern |
A pattern for the operand of an attribute selector
|
Method | Description | |
---|---|---|
AddInputSelector ( string type, string tag = null, bool combineWithPrevious = false ) : void | ||
AddPseudoSelector ( string key ) : bool |
Adds a named pseudo selector from the pseudoselector library.
|
|
AddTagSelector ( string tagName, bool combineWithPrevious = false ) : void |
public Parse ( string selector ) : CsQuery.Engine.Selector | ||
selector | string | |
return | CsQuery.Engine.Selector |
protected StartNewSelector ( CombinatorType combinatorType, TraversalType traversalType ) : void | ||
combinatorType | CombinatorType | |
traversalType | TraversalType | |
return | void |
protected StartNewSelector ( SelectorType selectorType ) : void | ||
selectorType | SelectorType | /// The selector type to start. /// |
return | void |
protected StartNewSelector ( SelectorType selectorType, CombinatorType combinatorType, TraversalType traversalType ) : void | ||
selectorType | SelectorType | |
combinatorType | CombinatorType | |
traversalType | TraversalType | |
return | void |
protected StartNewSelector ( TraversalType traversalType ) : void | ||
traversalType | TraversalType | |
return | void |
protected expectsOptionallyQuotedValue ( ) : IExpectPattern | ||
return | IExpectPattern |