Node
@ExperimentalAppSearchApi
interface Node
AndNode |
|
ComparatorNode |
|
FunctionNode |
|
NegationNode |
|
OrNode |
|
PropertyRestrictNode |
|
TextNode |
|
GetSearchStringParameterNode |
|
HasPropertyNode |
|
PropertyDefinedNode |
|
This is the basic Abstract Syntax Tree (AST) class. All other classes extend from this class depending on the specific node.
This API may change in response to feedback and additional changes.
Summary
Public functions
getChildren
fun getChildren(): (Mutable)List<Node!>
Get a list of the node's child Node
s.
By default this method will return an empty list representing that the node has no child nodes.
If a node type extends this interface and has child nodes, then that class should override this implementation and return a list of nodes of size equal to the number of child nodes that node has.