Expand description

Provides safe RefNode conversion functions.

Note that all of the as_{name} functions work as follows.

  • If the node_type corresponds to the correct type, it returns OK.
  • If the node_type does not correspond to the correct type, it returns Error::InvalidState.
  • If the node_type is not implemented it returns Error::NotSupported.

Functions

Safely cast the specified RefNode into a Ref type.

Safely cast the specified RefNode into a mutable Ref type.

Safely cast the specified RefNode into a Ref type.

Safely cast the specified RefNode into a mutable Ref type.

Safely cast the specified RefNode into a Text.

Safely cast the specified RefNode into a mutable Text.

Safely cast the specified RefNode into a Ref type.

Safely cast the specified RefNode into a mutable Ref type.

Safely cast the specified RefNode into a Ref type.

Safely cast the specified RefNode into a Ref type.

Safely cast the specified RefNode into a mutable Ref type.

Safely cast the specified RefNode into a mutable Ref type.

Safely cast the specified RefNode into a Ref type.

Safely cast the specified RefNode into a mutable Ref type.

Safely cast the specified RefNode into a Ref type.

Safely cast the specified RefNode into a mutable Ref type.

Safely cast the specified RefNode into a Ref type.

Safely cast the specified RefNode into a mutable Ref type.

Safely cast the specified RefNode into a Ref type.

Safely cast the specified RefNode into a mutable Ref type.

Safely cast the specified RefNode into a Ref type.

Safely cast the specified RefNode into a mutable Ref type.

Safely cast the specified RefNode into a Ref type.

Safely cast the specified RefNode into a mutable Ref type.

Safely cast the specified RefNode into a Ref type.

Safely cast the specified RefNode into a mutable Ref type.

Determines if the specified node is of the correct node type.

Determines if the specified node is of the correct node type.

Determines if the specified node is a type of CharacterData.

Determines if the specified node is of the correct node type.

Determines if the specified node is of the correct node type.

Determines if the specified node is of the correct node type.

Determines if the specified node is of the correct node type.

Determines if the specified node is of the correct node type.

Determines if the specified node is of the correct node type.

Determines if the specified node is of the correct node type.

Determines if the specified node is of the correct node type.

Determines if the specified node is of the correct node type.

Determines if the specified node is of the correct node type.

Type Definitions

Mutable Ref type for mutable dynamic trait cast

Mutable Ref type for mutable dynamic trait cast

Mutable Ref type for mutable dynamic trait cast

Mutable Ref type for mutable dynamic trait cast

Mutable Ref type for mutable dynamic trait cast

Mutable Ref type for mutable dynamic trait cast

Mutable Ref type for mutable dynamic trait cast

Mutable Ref type for mutable dynamic trait cast

Mutable Ref type for mutable dynamic trait cast

Mutable Ref type for mutable dynamic trait cast

Mutable Ref type for mutable dynamic trait cast

Mutable Ref type for mutable dynamic trait cast

Mutable Ref type for mutable dynamic trait cast

Ref type for dynamic trait cast

Ref type for dynamic trait cast

Ref type for dynamic trait cast

Ref type for dynamic trait cast

Ref type for dynamic trait cast

Ref type for dynamic trait cast

Ref type for dynamic trait cast

Ref type for dynamic trait cast

Ref type for dynamic trait cast

Ref type for dynamic trait cast

Ref type for dynamic trait cast

Ref type for dynamic trait cast

Ref type for dynamic trait cast