Home
last modified time | relevance | path

Searched refs:AsIdentifier (Results 1 – 12 of 12) sorted by relevance

/third_party/gn/src/gn/
Dparser.cc575 if (left->AsIdentifier() == nullptr && left->AsAccessor() == nullptr) { in Assignment()
598 if (left->AsIdentifier() == nullptr) { in Subscript()
609 accessor->set_base(left->AsIdentifier()->value()); in Subscript()
616 if (left->AsIdentifier() == nullptr) { in DotOperator()
626 if (!right || !right->AsIdentifier()) { in DotOperator()
634 accessor->set_base(left->AsIdentifier()->value()); in DotOperator()
803 } else if (root->AsIdentifier()) { in TraverseOrder()
Dparse_tree.cc87 DCHECK(node->AsLiteral() || node->AsIdentifier() || node->AsAccessor()); in GetStringRepresentation()
90 else if (node->AsIdentifier()) in GetStringRepresentation()
91 return node->AsIdentifier()->value().value(); in GetStringRepresentation()
195 const IdentifierNode* ParseNode::AsIdentifier() const { in AsIdentifier() function in ParseNode
564 cur->AsIdentifier() || cur->AsBlock()) { in Execute()
802 const IdentifierNode* IdentifierNode::AsIdentifier() const { in AsIdentifier() function in IdentifierNode
930 if (!node->AsLiteral() && !node->AsIdentifier() && !node->AsAccessor()) { in SortList()
966 DCHECK(node->AsLiteral() || node->AsIdentifier() || node->AsAccessor()); in SortList()
972 } else if (node->AsIdentifier()) { in SortList()
973 const_cast<IdentifierNode*>(node->AsIdentifier()) in SortList()
Dparse_node_value_adapter.cc17 const IdentifierNode* identifier = node->AsIdentifier(); in Init()
Dfunction_foreach.cc59 const IdentifierNode* identifier = args_vector[0]->AsIdentifier(); in RunForEach()
Dparse_tree.h90 virtual const IdentifierNode* AsIdentifier() const;
416 const IdentifierNode* AsIdentifier() const override;
Dstring_utils.cc88 if (!(node->AsIdentifier() || node->AsAccessor())) { in AppendInterpolatedExpression()
Dcommand_format.cc405 const IdentifierNode* ident = binop->left()->AsIdentifier(); in SortIfApplicable()
538 } else if (node->AsIdentifier()) { in SuffixCommentTreeWalk()
904 } else if (const IdentifierNode* identifier = root->AsIdentifier()) { in Expr()
Doperators.cc79 const IdentifierNode* dest_identifier = dest->AsIdentifier(); in Init()
Dfunctions.cc546 const IdentifierNode* identifier = args_vector[0]->AsIdentifier(); in RunDefined()
/third_party/node/deps/v8/src/parsing/
Dpreparser.h210 PreParserIdentifier AsIdentifier() const { in AsIdentifier() function
587 if (key.IsIdentifier() && key.AsIdentifier().IsPrivateName()) {
651 DCHECK(expression.IsIdentifier() && expression.AsIdentifier().IsEval());
1304 V8_INLINE static PreParserIdentifier AsIdentifier(
1306 return expression.AsIdentifier();
Dparser-base.h1404 impl()->IsEvalOrArguments(impl()->AsIdentifier(expression))) { in IsAssignableIdentifier()
1462 impl()->IsEval(impl()->AsIdentifier(expression)) && !is_optional_call) { in CheckPossibleEvalCall()
3425 DCHECK(impl()->IsAsync(impl()->AsIdentifier(result))); in ParseLeftHandSideContinuation()
3864 ClassifyParameter(impl()->AsIdentifier(pattern), pos, end_position()); in ParseFormalParameter()
4981 DCHECK(impl()->IsEvalOrArguments(impl()->AsIdentifier(expression))); in RewriteInvalidReferenceExpression()
5030 ClassifyParameter(impl()->AsIdentifier(parameter), position, in ClassifyArrowParameter()
5061 IdentifierT identifier = impl()->AsIdentifier(result); in ParsePossibleDestructuringSubPattern()
Dparser.h584 V8_INLINE static const AstRawString* AsIdentifier(Expression* expression) {