code: function(sequence, i)
  	{
  		if ( i == undefined ) i = 0;
  		
  		var output = [];
  		var len = sequence.length;
  		i += 1;
  
  		// [foo, bar, ...]
  		while ( i < len )
  		{
  			switch ( sequence.charAt(i) )
  			{
  				case '[':
  					// nested sequence
  					output.push(this.parseSequence(sequence, i));
  					i = this.i;
  					break;
  				case '{':
  					// nested mapping
  					output.push(this.parseMapping(sequence, i));
  					i = this.i;
  					break;
  				case ']':
  					this.i = i;
  					return output;
  				case ',':
  				case ' ':
  					break;
  				default:
  					var isQuoted = this.inArray(sequence.charAt(i), ['"', "'"]);
  					var value = this.parseScalar(sequence, [',', ']'], ['"', "'"], i);
  					i = this.i;
  					
  					if ( !isQuoted && (value+'').indexOf(': ') != -1 )
  					{
  						// embedded mapping?
  						try
  						{
  							value = this.parseMapping('{'+value+'}');
  						}
  						catch ( e )
  						{
  							if ( !(e instanceof YamlParseException ) ) throw e;
  							// no, it's not
  						}
  					}
  
  					output.push(value);
  
  					i--;
  			}
  
  			i++;
  		}
  
  		throw new YamlParseException('Malformed inline YAML string "'+sequence+'"');
  	}
docs: Parses a sequence to a YAML string.
  
  @param string sequence
  @param integer i
  
  @return string A YAML string
  
  @throws YamlParseException When malformed inline YAML string is parsed