Lines Matching refs:GetRange
72 *err = Err(index_->GetRange(), "Negative array subscript.",
78 *err = Err(index_->GetRange(), "Array subscript out of range.",
94 LocationRange AccessorNode::GetRange() const {
95 return LocationRange(base_.location(), index_->GetRange().end());
100 return Err(GetRange(), msg, help);
125 LocationRange BinaryOpNode::GetRange() const {
126 return left_->GetRange().Union(right_->GetRange());
167 LocationRange BlockNode::GetRange() const {
172 return statements_[0]->GetRange().Union(
173 statements_[statements_.size() - 1]->GetRange());
180 return Err(GetRange(), msg, help);
248 LocationRange ConditionNode::GetRange() const {
250 return if_token_.range().Union(if_false_->GetRange());
251 return if_token_.range().Union(if_true_->GetRange());
283 LocationRange FunctionCallNode::GetRange() const {
285 return function_.range().Union(block_->GetRange());
286 return function_.range().Union(args_->GetRange());
325 LocationRange IdentifierNode::GetRange() const {
371 LocationRange ListNode::GetRange() const {
426 LocationRange LiteralNode::GetRange() const {
458 LocationRange UnaryOpNode::GetRange() const {
459 return op_.range().Union(operand_->GetRange());