Home
last modified time | relevance | path

Searched refs:subscript_ (Results 1 – 3 of 3) sorted by relevance

/third_party/boost/libs/proto/example/
Dlazy_vector.cpp51 : subscript_(subscript) in lazy_subscript_context()
68 return proto::value( expr )[ ctx.subscript_ ]; in operator ()()
72 Size subscript_; member
/third_party/gn/src/gn/
Dparse_tree.cc295 if (subscript_) in Execute()
304 if (subscript_) in GetRange()
305 return LocationRange(base_.location(), subscript_->GetRange().end()); in GetRange()
320 if (subscript_) { in GetJSONNode()
321 child.GetList().push_back(subscript_->GetJSONNode()); in GetJSONNode()
346 ret->subscript_ = ParseNode::BuildFromJSON(children[0]); in NewFromJSON()
385 Value key_value = subscript_->Execute(scope, err); in ExecuteScopeSubscriptAccess()
394 Err(subscript_.get(), "No value named \"" + key_value.string_value() + in ExecuteScopeSubscriptAccess()
453 Value index_value = subscript_->Execute(scope, err); in ComputeAndValidateListIndex()
461 *err = Err(subscript_->GetRange(), "Negative array subscript.", in ComputeAndValidateListIndex()
[all …]
Dparse_tree.h177 const ParseNode* subscript() const { return subscript_.get(); } in subscript()
179 subscript_ = std::move(key); in set_subscript()
218 std::unique_ptr<ParseNode> subscript_; variable