/external/v8/src/ |
D | parser.cc | 270 DCHECK(ast_value_factory()); in NewScope() 272 new (zone()) Scope(parent, scope_type, ast_value_factory(), zone()); in NewScope() 365 return identifier == parser_->ast_value_factory()->eval_string() || in IsEvalOrArguments() 366 identifier == parser_->ast_value_factory()->arguments_string(); in IsEvalOrArguments() 371 return identifier == parser_->ast_value_factory()->prototype_string(); in IsPrototype() 376 return identifier == parser_->ast_value_factory()->constructor_string(); in IsConstructor() 401 parser_->ast_value_factory()->anonymous_function_string()); in PushPropertyName() 420 callee->raw_name() == parser_->ast_value_factory()->eval_string()) { in CheckPossibleEvalCall() 540 parser_->ast_value_factory()->make_reference_error_string(), message, in NewThrowReferenceError() 547 return NewThrowError(parser_->ast_value_factory()->make_syntax_error_string(), in NewThrowSyntaxError() [all …]
|
D | func-name-inferrer.cc | 15 FuncNameInferrer::FuncNameInferrer(AstValueFactory* ast_value_factory, in FuncNameInferrer() argument 17 : ast_value_factory_(ast_value_factory), in FuncNameInferrer()
|
D | parser.h | 583 V8_INLINE AstValueFactory* ast_value_factory(); 682 AstValueFactory* ast_value_factory() const { in ast_value_factory() function 683 return info_->ast_value_factory(); in ast_value_factory() 869 return parser_->ast_value_factory()->empty_string(); in EmptyIdentifierString() 895 AstValueFactory* ParserTraits::ast_value_factory() { in ast_value_factory() function 896 return parser_->ast_value_factory(); in ast_value_factory()
|
D | scanner.cc | 1195 const AstRawString* Scanner::CurrentSymbol(AstValueFactory* ast_value_factory) { in CurrentSymbol() argument 1197 return ast_value_factory->GetOneByteString(literal_one_byte_string()); in CurrentSymbol() 1199 return ast_value_factory->GetTwoByteString(literal_two_byte_string()); in CurrentSymbol() 1203 const AstRawString* Scanner::NextSymbol(AstValueFactory* ast_value_factory) { in NextSymbol() argument 1205 return ast_value_factory->GetOneByteString(next_literal_one_byte_string()); in NextSymbol() 1207 return ast_value_factory->GetTwoByteString(next_literal_two_byte_string()); in NextSymbol()
|
D | func-name-inferrer.h | 31 FuncNameInferrer(AstValueFactory* ast_value_factory, Zone* zone);
|
D | compiler.h | 382 AstValueFactory* ast_value_factory() const { return ast_value_factory_; } in ast_value_factory() function 383 void SetAstValueFactory(AstValueFactory* ast_value_factory, 385 ast_value_factory_ = ast_value_factory;
|
D | preparser.h | 169 AstValueFactory* ast_value_factory = NULL, 175 AstValueFactory* ast_value_factory = NULL, 1075 PreParserIdentifier name, AstValueFactory* ast_value_factory, in NewFunctionLiteral() argument 1380 static AstValueFactory* ast_value_factory() { return NULL; } in ast_value_factory() function 1558 AstValueFactory* ast_value_factory, AstNode::IdGen* ast_node_id_gen) in FunctionState() argument 1569 factory_(zone, ast_value_factory, ast_node_id_gen) { in FunctionState() 1581 AstValueFactory* ast_value_factory, AstNode::IdGen* ast_node_id_gen) in FunctionState() argument 1592 factory_(zone, ast_value_factory, ast_node_id_gen) { in FunctionState() 2625 this->ast_value_factory(), ast_node_id_gen_); in ParseArrowFunctionLiteral() 2703 this->EmptyIdentifierString(), this->ast_value_factory(), scope, body, in ParseArrowFunctionLiteral() [all …]
|
D | preparser.cc | 127 this->ast_value_factory()); in PreParseLazyFunction() 131 this->ast_value_factory()); in PreParseLazyFunction() 835 this->ast_value_factory()); in ParseFunctionLiteral()
|
D | scanner.h | 383 const AstRawString* CurrentSymbol(AstValueFactory* ast_value_factory); 384 const AstRawString* NextSymbol(AstValueFactory* ast_value_factory);
|
D | rewriter.cc | 240 scope->NewTemporary(info->ast_value_factory()->dot_result_string()); in EXPRESSION_NODE_LIST()
|
D | scopes.cc | 71 AstValueFactory* ast_value_factory, Zone* zone) in Scope() argument 84 ast_value_factory_(ast_value_factory), in Scope() 275 info->zone(), info->ast_value_factory(), info->ast_node_id_gen()); in Analyze()
|
D | ast.h | 1463 ObjectLiteralProperty(Zone* zone, AstValueFactory* ast_value_factory, 2448 AstValueFactory* ast_value_factory, Scope* scope, in FunctionLiteral() argument 2460 raw_inferred_name_(ast_value_factory->empty_string()), in FunctionLiteral() 3071 AstNodeFactory(Zone* zone, AstValueFactory* ast_value_factory, in AstNodeFactory() argument 3073 : zone_(zone), ast_value_factory_(ast_value_factory), id_gen_(id_gen) {} in AstNodeFactory() 3483 const AstRawString* name, AstValueFactory* ast_value_factory, in NewFunctionLiteral() argument 3492 zone_, name, ast_value_factory, scope, body, materialized_literal_count, in NewFunctionLiteral()
|
D | ast.cc | 175 AstValueFactory* ast_value_factory, in ObjectLiteralProperty() argument 182 if (key->raw_value()->EqualsString(ast_value_factory->proto_string())) { in ObjectLiteralProperty()
|
D | hydrogen.cc | 7808 target_info.SetAstValueFactory(top_info()->ast_value_factory(), false); in TryInline()
|
/external/v8/test/cctest/ |
D | test-parsing.cc | 806 i::AstValueFactory ast_value_factory(&zone, in TestScanRegExp() local 808 ast_value_factory.Internalize(CcTest::i_isolate()); in TestScanRegExp() 810 scanner.CurrentSymbol(&ast_value_factory)->string(); in TestScanRegExp() 3167 info.ast_value_factory()->GetOneByteString("x"); in TEST()
|