Home | History | Annotate | Download | only in parsing

Lines Matching refs:ParserTraits

316 bool ParserTraits::IsEval(const AstRawString* identifier) const {
321 bool ParserTraits::IsArguments(const AstRawString* identifier) const {
326 bool ParserTraits::IsEvalOrArguments(const AstRawString* identifier) const {
330 bool ParserTraits::IsUndefined(const AstRawString* identifier) const {
334 bool ParserTraits::IsPrototype(const AstRawString* identifier) const {
339 bool ParserTraits::IsConstructor(const AstRawString* identifier) const {
344 bool ParserTraits::IsThisProperty(Expression* expression) {
352 bool ParserTraits::IsIdentifier(Expression* expression) {
358 void ParserTraits::PushPropertyName(FuncNameInferrer* fni,
369 void ParserTraits::CheckAssigningFunctionLiteralToProperty(Expression* left,
378 Expression* ParserTraits::MarkExpressionAsAssigned(Expression* expression) {
386 bool ParserTraits::ShortcutNumericLiteralBinaryExpression(
449 Expression* ParserTraits::BuildUnaryExpression(Expression* expression,
494 Expression* ParserTraits::NewThrowReferenceError(
501 Expression* ParserTraits::NewThrowSyntaxError(MessageTemplate::Template message,
508 Expression* ParserTraits::NewThrowTypeError(MessageTemplate::Template message,
514 Expression* ParserTraits::NewThrowError(Runtime::FunctionId id,
527 void ParserTraits::ReportMessageAt(Scanner::Location source_location,
542 void ParserTraits::ReportMessage(MessageTemplate::Template message,
549 void ParserTraits::ReportMessage(MessageTemplate::Template message,
557 void ParserTraits::ReportMessageAt(Scanner::Location source_location,
573 const AstRawString* ParserTraits::GetSymbol(Scanner* scanner) {
581 const AstRawString* ParserTraits::GetNumberAsSymbol(Scanner* scanner) {
590 const AstRawString* ParserTraits::GetNextSymbol(Scanner* scanner) {
595 Expression* ParserTraits::ThisExpression(Scope* scope, AstNodeFactory* factory,
603 Expression* ParserTraits::SuperPropertyReference(Scope* scope,
619 Expression* ParserTraits::SuperCallReference(Scope* scope,
633 Expression* ParserTraits::NewTargetExpression(Scope* scope,
645 Expression* ParserTraits::DefaultConstructor(bool call_super, Scope* scope,
652 Literal* ParserTraits::ExpressionFromLiteral(Token::Value token, int pos,
678 Expression* ParserTraits::ExpressionFromIdentifier(const AstRawString* name,
689 Expression* ParserTraits::ExpressionFromString(int pos, Scanner* scanner,
697 Expression* ParserTraits::GetIterator(Expression* iterable,
709 Literal* ParserTraits::GetLiteralTheHole(int position,
715 Expression* ParserTraits::ParseV8Intrinsic(bool* ok) {
720 FunctionLiteral* ParserTraits::ParseFunctionLiteral(
732 ClassLiteral* ParserTraits::ParseClassLiteral(
741 : ParserBase<ParserTraits>(info->zone(), &scanner_, info->stack_limit(),
937 ParserTraits::RewriteDestructuringAssignments();
1204 ParserTraits::ReportMessageAt(
1217 ParserTraits::ReportMessageAt(
1338 // TODO(adamk): Pass both local_name and export_name once ParserTraits
1341 ParserTraits::ReportMessage(MessageTemplate::kModuleExportUndefined,
1578 expr = ParserTraits::RewriteNonPattern(expr, &classifier, CHECK_OK);
1592 ParserTraits::ReportMessageAt(
1668 ParserTraits::ReportMessageAt(export_locations[i],
1710 ParserTraits::ReportMessage(MessageTemplate::kDuplicateExport, names[i]);
1963 ParserTraits::ReportMessage(MessageTemplate::kVarRedeclaration, name);
1965 ParserTraits::ReportMessage(MessageTemplate::kParamDupe);
2409 value = ParserTraits::RewriteNonPattern(value, &classifier, ok);
2446 ParserTraits::ReportMessageAt(
2520 expr = ParserTraits::RewriteNonPattern(expr, &classifier, CHECK_OK);
2561 ParserTraits::ReportMessage(MessageTemplate::kLabelRedeclaration, label);
2647 ParserTraits::ReportMessage(message, label);
2684 ParserTraits::ReportMessage(message, label);
3573 ParserTraits::ReportMessageAt(
3742 ParserTraits::RewriteNonPattern(expression, &classifier, CHECK_OK);
3935 void ParserTraits::ParseArrowFunctionFormalParameters(
4029 void ParserTraits::ParseArrowFunctionFormalParameterList(
4053 void ParserTraits::ReindexLiterals(const ParserFormalParameters& parameters) {
4322 ParserTraits::RewriteDestructuringAssignments();
4397 ParserTraits::ReportMessageAt(
4766 extends = ParserTraits::RewriteNonPattern(extends, &classifier, CHECK_OK);
4792 property = ParserTraits::RewriteNonPatternObjectLiteralProperty(
4889 ParserTraits::ReportMessage(MessageTemplate::kNotDefined, name);
4912 ParserTraits::ReportMessageAt(location, MessageTemplate::kVarRedeclaration,
5142 ParserTraits::TemplateLiteralState Parser::OpenTemplateLiteral(int pos) {
5143 return new (zone()) ParserTraits::TemplateLiteral(zone(), pos);
5402 void ParserTraits::RewriteDestructuringAssignments() {
5407 Expression* ParserTraits::RewriteNonPattern(
5413 ZoneList<Expression*>* ParserTraits::RewriteNonPatternArguments(
5420 ObjectLiteralProperty* ParserTraits::RewriteNonPatternObjectLiteralProperty(
5479 void ParserTraits::QueueDestructuringAssignmentForRewriting(Expression* expr) {
5486 void ParserTraits::SetFunctionNameFromPropertyName(
5524 void ParserTraits::SetFunctionNameFromIdentifierRef(Expression* value,