Skip to content

Commit 124baa1

Browse files
committed
Remove legacy expression flag
1 parent ed29d10 commit 124baa1

5 files changed

Lines changed: 4 additions & 12 deletions

File tree

@types/core/parse/interface.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ export interface CompiledExpressionProps {
1010
constant: boolean;
1111
/** Optional flag for pure expressions. */
1212
isPure?: boolean;
13-
/** Indicates if the expression should be evaluated only once. */
14-
oneTime: boolean;
1513
/** AST node decorated with metadata. */
1614
decoratedNode: DecoratedASTNode;
1715
/**

docs/static/typedoc/assets/search.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/static/typedoc/interfaces/CompiledExpressionProps.html

Lines changed: 2 additions & 4 deletions
Large diffs are not rendered by default.

src/core/parse/interface.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ export interface CompiledExpressionProps {
1111
constant: boolean;
1212
/** Optional flag for pure expressions. */
1313
isPure?: boolean;
14-
/** Indicates if the expression should be evaluated only once. */
15-
oneTime: boolean;
1614
/** AST node decorated with metadata. */
1715
decoratedNode: DecoratedASTNode;
1816
/**

src/core/parse/parse.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,10 @@ export class ParseProvider {
9090
fn.$$intercepted = parsedExpression;
9191
fn.$$interceptor = interceptorFn;
9292

93-
// Propagate the literal/oneTime/constant attributes
93+
// Propagate the literal/constant attributes
9494
// @ts-ignore
9595
fn.literal = parsedExpression.literal;
9696
// @ts-ignore
97-
fn.oneTime = parsedExpression.oneTime;
98-
// @ts-ignore
9997
fn.constant = parsedExpression.constant;
10098
// @ts-ignore
10199
fn.decoratedNode = parsedExpression.decoratedNode;

0 commit comments

Comments
 (0)