Documentation ¶
Index ¶
- Constants
- Variables
- type HTMLNode
- func (n *HTMLNode) GetGoMethod(name string) (*symbolic.GoFunction, bool)
- func (n *HTMLNode) IsMutable() bool
- func (n *HTMLNode) PrettyPrint(w prettyprint.PrettyPrintWriter, config *pprint.PrettyPrintConfig)
- func (n *HTMLNode) Prop(name string) symbolic.Value
- func (n *HTMLNode) PropertyNames() []string
- func (n *HTMLNode) Test(v symbolic.Value, state symbolic.RecTestCallState) bool
- func (n *HTMLNode) WatcherElement() symbolic.Value
- func (r *HTMLNode) WidestOfType() symbolic.Value
Constants ¶
View Source
const INTERPOLATION_LIMITATION_ERROR_MSG = "only HTML nodes, string-like and integer values are allowed"
Variables ¶
View Source
var ( HTML_NODE_PROPNAMES = []string{"first-child", "data"} ANY_HTML_NODE = &HTMLNode{} )
Functions ¶
This section is empty.
Types ¶
type HTMLNode ¶
type HTMLNode struct { symbolic.UnassignablePropsMixin symbolic.SerializableMixin }
func CreateHTMLNodeFromXMLElement ¶
func CreateHTMLNodeFromXMLElement(ctx *symbolic.Context, elem *symbolic.XMLElement) *HTMLNode
func NewHTMLNode ¶
func NewHTMLNode() *HTMLNode
func (*HTMLNode) GetGoMethod ¶
func (n *HTMLNode) GetGoMethod(name string) (*symbolic.GoFunction, bool)
func (*HTMLNode) PrettyPrint ¶
func (n *HTMLNode) PrettyPrint(w prettyprint.PrettyPrintWriter, config *pprint.PrettyPrintConfig)
func (*HTMLNode) PropertyNames ¶
func (*HTMLNode) WatcherElement ¶
func (*HTMLNode) WidestOfType ¶
Click to show internal directories.
Click to hide internal directories.