You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`isHelper` is not required and is used to disambiguate between cases such as `{{foo}}` and `(foo)`, which have slightly different call behaviors.
117
117
118
+
```java
119
+
interfacePartialExpression <: Expression {
120
+
type:"PartialExpression";
121
+
name:PathExpression|SubExpression;
122
+
params: [ Expression ];
123
+
hash:Hash;
124
+
}
125
+
```
126
+
127
+
`path` may be a `SubExpression` when tied to a dynamic partial, i.e. `{{> (foo) }}`
128
+
118
129
##### Paths
119
130
120
131
```java
@@ -221,6 +232,8 @@ The `Handlebars.JavaScriptCompiler` object has a number of methods that may be c
221
232
-`name` is the current path component
222
233
-`type` is the type of name being evaluated. May be one of `context`, `data`, `helper`, or `partial`.
223
234
235
+
Note that this does not impact dynamic partials, which implementors need to be aware of. Overriding `VM.resolvePartial` may be required to support dynamic cases.
236
+
224
237
-`depthedLookup(name)`
225
238
Used to generate code that resolves parameters within any context in the stack. Is only used in `compat` mode.
0 commit comments