diff --git a/thrift/compiler/whisker/object.h b/thrift/compiler/whisker/object.h index ea0ef698c79..78dfcbd9329 100644 --- a/thrift/compiler/whisker/object.h +++ b/thrift/compiler/whisker/object.h @@ -53,6 +53,8 @@ namespace whisker { // identifier, and the value is a `whisker::object` (recursive) // * native_object — // User-defined (C++) type with lazily evaluated properties. +// * native_function — +// User-defined (C++) function that operates on `whisker::object`. // // Currently, the Whisker templating language only supports i64, null, string, // and boolean as literals. However, the evaluation engine can recognize all of diff --git a/thrift/doc/contributions/whisker.md b/thrift/doc/contributions/whisker.md index b24bfbb8d6e..b68f44d6206 100644 --- a/thrift/doc/contributions/whisker.md +++ b/thrift/doc/contributions/whisker.md @@ -176,10 +176,6 @@ There are three types of `expression`s in Whisker: * `{{ (uppercase "hello") }}` * `{{ (concat (uppercase person.firstName) " " (uppercase person.lastName)) }}` -:::warning -Function call expressions are only partially implemented. -::: - :::note The `and` and `or` builtin functions short-circuit their evaluation, meaning additional arguments will not be evaluated or checked for errors once the result is determined. :::