Lines Matching defs:symbol

341   // Find symbols.  This returns a null Symbol (symbol.IsNull() is true)
366 bool AddSymbol(const string& full_name, Symbol symbol);
439 // Find symbols. These return a null Symbol (symbol.IsNull() is true)
465 Symbol symbol);
638 const string& full_name, Symbol symbol) {
639 if (InsertIfNotPresent(&symbols_by_name_, full_name.c_str(), symbol)) {
648 const void* parent, const string& name, Symbol symbol) {
650 return InsertIfNotPresent(&symbols_by_parent_, by_parent_key, symbol);
1252 // symbol we're looking for. Some DescriptorDatabases return false
1861 // If LookupSymbol() finds a symbol that is in a file which is not a declared
1865 // possible_undeclared_dependency_name_ is the name of the symbol that was
1867 // of the symbol actually looked for.
1895 // Like FindSymbol() but does not require that the symbol is in one of the
1899 // Like FindSymbol(), but looks up the name relative to some other symbol
1909 // any symbol is returned, or only symbols that are types. Note, however,
1910 // that LookupSymbol may still return a non-type symbol in LOOKUP_TYPES mode,
1912 // check that it receives the type of symbol it was expecting.
1944 const Message& proto, Symbol symbol);
1946 // Like AddSymbol(), but succeeds if the symbol is already defined as long
1949 // packgae to the symbol table (e.g. AddPackage("foo.bar", ...) will add
1954 // Checks that the symbol name contains only alphanumeric characters and
2269 // symbol has to be in one of its file's direct dependencies, and we have
2297 // Arg, this is overcomplicated. The symbol is a package name. It could
2303 // symbol unless none of the dependencies define it.
2365 // name is a compound symbol, of which we only found the first part.
2372 // We found a symbol but it's not an aggregate. Continue the loop.
2376 // We found a symbol but it's not a type. Continue the loop.
2518 const Message& proto, Symbol symbol) {
2519 // If the caller passed NULL for the parent, the symbol is at file scope.
2523 if (tables_->AddSymbol(full_name, symbol)) {
2524 if (!file_tables_->AddAliasUnderParent(parent, name, symbol)) {
2770 // don't end up reporting that every single symbol is already defined.
3256 // but it did conflict with some other symbol defined in the enum type's
3441 // Choose field type based on symbol.
3883 Symbol symbol = builder_->FindSymbolNotEnforcingDeps(
3885 if (!symbol.IsNull() && symbol.type == Symbol::MESSAGE) {
3886 options_descriptor = symbol.descriptor;
3918 Symbol symbol = builder_->LookupSymbol(name_part,
3920 if (!symbol.IsNull() && symbol.type == Symbol::FIELD) {
3921 field = symbol.field_descriptor;
4266 Symbol symbol =
4268 if (!symbol.IsNull() && symbol.type == Symbol::ENUM_VALUE) {
4269 if (symbol.enum_value_descriptor->type() != enum_type) {
4275 enum_value = symbol.enum_value_descriptor;