public static Literal getLiteral(StringNode node) {
        return Literal.stringLiteral(new Template(node));
    }
Constructs a {@link Literal} from the given {@link StringNode}.

@param node the node to construct the literal from.
@return the string node as a literal.
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/language/syntax/expressions/Expression.java