anchor.diff:          ));
           expect(builder.build(), equals({'key': 'value'}));
         });
  +      test('dotted key/value pairs are inserted into child tables', () {
  +        var builder = TomlMapBuilder();
  +        builder.visitKeyValuePair(TomlKeyValuePair(
  +          TomlKey([
  +            TomlUnquotedKey('a'),
  +            TomlUnquotedKey('b'),
  +            TomlUnquotedKey('c'),
  +          ]),
  +          TomlLiteralString('value'),
  +        ));
  +        expect(
  +            builder.build(),
  +            equals({
  +              'a': {
  +                'b': {'c': 'value'}
  +              }
  +            }));
  +      });
  +      test('allows multiple dotted keys with same parent', () {
  +        var builder = TomlMapBuilder();
  +        builder.visitKeyValuePair(TomlKeyValuePair(
  +          TomlKey([
  +            TomlUnquotedKey('a'),
  +            TomlUnquotedKey('b'),
  +            TomlUnquotedKey('c'),
  +          ]),
  +          TomlInteger.dec(BigInt.from(1)),
  +        ));
  +        builder.visitKeyValuePair(TomlKeyValuePair(
  +          TomlKey([
  +            TomlUnquotedKey('a'),
  +            TomlUnquotedKey('d'),
  +          ]),
  +          TomlInteger.dec(BigInt.from(2)),
  +        ));
  +        expect(
  +            builder.build(),
  +            equals({
  +              'a': {
  +                'b': {'c': 1},
  +                'd': 2
  +              }
  +            }));
  +      });
         test('throws an exception if the key/value pair is defined already', () {
           var builder = TomlMapBuilder();
           builder.visitKeyValuePair(TomlKeyValuePair(
  
positive.code:             TomlKey([TomlUnquotedKey('key')]),
              TomlInteger.dec(BigInt.from(2)),
            )),
            throwsA(
              equals(
                TomlRedefinitionException(TomlKey([TomlUnquotedKey('key')])),
              ),
            ),
          );
        });
      });
  
      group('visitStandardTable', () {
  
negative.code:           ),
          );
        });
        test('can create sub-tables within tables defined via dotted keys', () {
          var builder = TomlMapBuilder();
          builder.visitKeyValuePair(TomlKeyValuePair(
            TomlKey([TomlUnquotedKey('parent'), TomlUnquotedKey('key1')]),
            TomlInteger.dec(BigInt.from(1)),
          ));
          builder.visitStandardTable(TomlStandardTable(
            TomlKey([TomlUnquotedKey('parent')]),
          ));
          builder.visitKeyValuePair(TomlKeyValuePair(
            TomlKey([TomlUnquotedKey('key2')]),
            TomlInteger.dec(BigInt.from(2)),
          ));
          expect(
            builder.build(),
            equals({
              'parent': {'key1': 1, 'key2': 2}
            }),
          );
        });
      });
  
      group('visitArrayTable', () {
  