public LexicalDeclarationItem(LexicalDeclarationType lexicalDeclarationType, string name, AbstractAssignmentExpression?assignmentExpression, bool isStrictMode) : base(isStrictMode) { this.lexicalDeclarationType = lexicalDeclarationType; this.name = name; this.assignmentExpression = assignmentExpression; }
public LexicalDeclaration(LexicalDeclarationType lexicalDeclarationType, IReadOnlyList <LexicalDeclarationItem> lexicalDeclarationItems, bool isStrictMode) : base(isStrictMode) { this.lexicalDeclarationType = lexicalDeclarationType; this.lexicalDeclarationItems = lexicalDeclarationItems; }