@journeyapps/evaluator
Advanced tools
Comparing version 0.0.0-dev.2759858.aa148ae to 0.0.0-dev.0d12bd8.0a72281
@@ -13,2 +13,3 @@ /** | ||
constructor(expression: string, start?: number); | ||
stringify(): string; | ||
isFunction(): boolean; | ||
@@ -15,0 +16,0 @@ /** |
@@ -11,2 +11,3 @@ /** | ||
protected constructor(expression: string, start?: number); | ||
stringify(): string; | ||
toString(): string; | ||
@@ -13,0 +14,0 @@ isConstant(): boolean; |
@@ -9,2 +9,3 @@ export interface TypeInterface { | ||
options: object; | ||
stringify(): string; | ||
} |
@@ -20,11 +20,3 @@ "use strict"; | ||
toString() { | ||
return ('[object ' + | ||
this.constructor.name + | ||
' <' + | ||
this.expression + | ||
', ' + | ||
this.start + | ||
', ' + | ||
this.format + | ||
'>]'); | ||
return '[object ' + this.constructor.name + ' <' + this.expression + ', ' + this.start + ', ' + this.format + '>]'; | ||
} | ||
@@ -31,0 +23,0 @@ async tokenEvaluatePromise(scope) { |
@@ -18,2 +18,5 @@ "use strict"; | ||
} | ||
stringify() { | ||
return `${FunctionTokenExpression.PREFIX}${this.expression}`; | ||
} | ||
isFunction() { | ||
@@ -33,4 +36,3 @@ return true; | ||
toConstant(includeEscapeTags) { | ||
if (typeof includeEscapeTags === 'undefined' || | ||
includeEscapeTags === null) { | ||
if (typeof includeEscapeTags === 'undefined' || includeEscapeTags === null) { | ||
includeEscapeTags = false; | ||
@@ -52,2 +54,3 @@ } | ||
} | ||
exports.FunctionTokenExpression = FunctionTokenExpression; | ||
/** | ||
@@ -57,3 +60,2 @@ * Prefix for function token expressions. | ||
FunctionTokenExpression.PREFIX = '$:'; | ||
exports.FunctionTokenExpression = FunctionTokenExpression; | ||
//# sourceMappingURL=FunctionTokenExpression.js.map |
@@ -13,10 +13,7 @@ "use strict"; | ||
} | ||
stringify() { | ||
return this.expression; | ||
} | ||
toString() { | ||
return ('[object ' + | ||
this.constructor.name + | ||
' <' + | ||
this.expression + | ||
', ' + | ||
this.start + | ||
'>]'); | ||
return '[object ' + this.constructor.name + ' <' + this.expression + ', ' + this.start + '>]'; | ||
} | ||
@@ -23,0 +20,0 @@ isConstant() { |
{ | ||
"name": "@journeyapps/evaluator", | ||
"version": "0.0.0-dev.2759858.aa148ae", | ||
"version": "0.0.0-dev.0d12bd8.0a72281", | ||
"description": "Journey JS library", | ||
@@ -14,3 +14,3 @@ "main": "./dist/src/index.js", | ||
"dependencies": { | ||
"@journeyapps/core-xml": "0.0.0-dev.2759858.aa148ae" | ||
"@journeyapps/core-xml": "0.0.0-dev.0d12bd8.0a72281" | ||
}, | ||
@@ -21,3 +21,3 @@ "files": [ | ||
], | ||
"gitHead": "5ef1b9f50b394b2d2457d278021c8e38592d45f9" | ||
"gitHead": "fdd5d4fb89f25ea468bb70735768701a57c20b6b" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
91317
1126
+ Added@journeyapps/core-xml@0.0.0-dev.0d12bd8.0a72281(transitive)
- Removed@journeyapps/core-xml@0.0.0-dev.2759858.aa148ae(transitive)