@Override
    public SourceLocation getSourceLocation() {
        return function.getSourceLocation();
    }
Constructs a condition from the given node.

@param node the node.
@return the condition instance.
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/language/syntax/rule/Condition.java