Comparing version 0.1.8 to 0.1.9-dev.20190517
@@ -79,3 +79,3 @@ import { Token } from './token'; | ||
export declare function parseParenthesizedExpression(parser: ParserState, context: Context, assignable: 0 | 1): any; | ||
export declare function parseIdentifierOrArrow(parser: ParserState, context: Context, expr: ESTree.Identifier, assignable: 0 | 1): ESTree.Identifier | ESTree.ArrowFunctionExpression; | ||
export declare function parseIdentifierOrArrow(parser: ParserState, context: Context, expr: ESTree.Identifier): ESTree.Identifier | ESTree.ArrowFunctionExpression; | ||
export declare function parseArrowFunctionExpression(parser: ParserState, context: Context, params: ESTree.Pattern[], isAsync: 0 | 1): ESTree.ArrowFunctionExpression; | ||
@@ -85,3 +85,3 @@ export declare function parseFormalParametersOrFormalList(parser: ParserState, context: Context, type: BindingType): any[]; | ||
export declare function parseMetaProperty(parser: ParserState, context: Context, meta: ESTree.Identifier): ESTree.MetaProperty; | ||
export declare function parseAsyncExpression(parser: ParserState, context: Context, token: Token, expr: ESTree.Identifier, inNewExpression: 0 | 1, assignable: 0 | 1): ESTree.Expression; | ||
export declare function parseAsyncExpression(parser: ParserState, context: Context, expr: ESTree.Identifier, inNewExpression: 0 | 1, assignable: 0 | 1): ESTree.Expression; | ||
export declare function parseAsyncArrowOrCallExpression(parser: ParserState, context: Context, callee: ESTree.Identifier | void, assignable: 0 | 1, asyncNewLine: 0 | 1): any; | ||
@@ -88,0 +88,0 @@ export declare function parseRegExpLiteral(parser: ParserState, context: Context): ESTree.RegExpLiteral; |
@@ -0,0 +0,0 @@ ISC License |
{ | ||
"name": "meriyah", | ||
"version": "0.1.8", | ||
"version": "0.1.9-dev.20190517", | ||
"description": "Fast and lightweight, standard-compliant javascript parser written in ECMAScript", | ||
@@ -94,2 +94,2 @@ "main": "dist/meriyah.umd.js", | ||
} | ||
} | ||
} |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ import { unicodeLookup } from '../unicode'; |
@@ -0,0 +0,0 @@ import { nextCodePoint, CharTypes, CharFlags } from './'; |
@@ -0,0 +0,0 @@ import { Chars } from '../chars'; |
@@ -0,0 +0,0 @@ import { ParserState, Context } from '../common'; |
@@ -0,0 +0,0 @@ export { scanSingleToken, nextToken } from './scan'; |
@@ -0,0 +0,0 @@ import { ParserState, Context, Flags } from '../common'; |
@@ -0,0 +0,0 @@ ### Lexer source |
@@ -0,0 +0,0 @@ import { Chars } from '../chars'; |
@@ -0,0 +0,0 @@ import { skipSingleLineComment, skipMultiLineComment } from './comments'; |
@@ -0,0 +0,0 @@ import { ParserState, Context } from '../common'; |
@@ -0,0 +0,0 @@ import { ParserState, Context } from '../common'; |
@@ -0,0 +0,0 @@ import { Context } from './common'; |
@@ -0,0 +0,0 @@ export const enum Token { |
@@ -5,9 +5,9 @@ // Unicode v. 12 support | ||
function isIDContinue(code:number) { | ||
return (unicodeLookup[(code >>> 5) + 0] >>> code & 31 & 1) !== 0 | ||
return (unicodeLookup[(code >>> 5) + 0] >>> code & 31 & 1) !== 0 | ||
} | ||
function isIDStart(code:number) { | ||
return (unicodeLookup[(code >>> 5) + 34816] >>> code & 31 & 1) !== 0 | ||
return (unicodeLookup[(code >>> 5) + 34816] >>> code & 31 & 1) !== 0 | ||
} | ||
function mustEscape(code:number) { | ||
return (unicodeLookup[(code >>> 5) + 69632] >>> code & 31 & 1) !== 0 | ||
return (unicodeLookup[(code >>> 5) + 69632] >>> code & 31 & 1) !== 0 | ||
} | ||
@@ -14,0 +14,0 @@ export const unicodeLookup = ((compressed, lookup) => { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
2128642
40655