static Selector fromNode(Node node) {
        try {
            return parse(node.expectStringNode().getValue());
        } catch (SelectorSyntaxException e) {
            throw new SourceException(e.getMessage(), node, e);
        }
    }
Creates a Selector from a {@link Node}.

@param node Node to parse.
@return Returns the created selector.
@throws SourceException on error.
smithy-model/src/main/java/software/amazon/smithy/model/selector/Selector.java