Lines Matching defs:pos
15 KythePosition MakeKythePosition(const SourcePosition& pos) {
17 if (pos.source.IsValid()) {
18 p.file_path = SourceFileMap::PathFromV8Root(pos.source);
22 p.start_offset = pos.start.offset;
23 p.end_offset = pos.end.offset;
38 KythePosition pos = MakeKythePosition(constant->name()->pos);
40 KytheConsumer::Kind::Constant, constant->name()->value, pos);
94 KythePosition pos = MakeKythePosition(field->pos);
96 KytheConsumer::Kind::ClassField, field->name_and_type.name, pos);
168 KythePosition pos = MakeKythePosition(type_decl->IdentifierPosition());
170 KytheConsumer::Kind::Type, type_decl->type_name(), pos);