eanderton
7c63fff960
Added Position Support to TomlTree
...
TomlDocument provides an optional TOML processing path where position
informaiton is stored alongside a TomlTree.
* Added Position struct
* Revised TomlTree to contain position data
* Added tomlValue to bind positions to values
* Revised parser to emit position data
* Revised token to use new Position struct
* Added tests for new functionality
* Bugfixed table array duplicate key handling
* Applied gofmt to all code
2014-08-26 21:00:41 -04:00
Thomas Pelletier
65684e6bb0
Fixes #20 : Creation of subgroup in table arrays
2014-08-14 10:12:39 +02:00
Thomas Pelletier
bf549a2194
Run gofmt
2014-08-07 12:52:42 +02:00
eanderton
1f8a8cbc06
Added error context for parsing of subtrees
2014-08-06 08:20:53 -04:00
Philipp Brüll
e9ae961088
extended Has function to work with paths
2014-07-09 16:34:41 +02:00
eanderton
5dd3b53635
Fixed formatting
2014-07-08 22:02:42 -04:00
eanderton
262211488d
Fixed path handling and key group array name lexing for test compliance
2014-07-08 22:00:46 -04:00
eanderton
7b208738bc
Fixed formatting; added name to license file
2014-07-07 21:06:42 -04:00
eanderton
c8b5633273
Group array support; ToString() support
2014-07-07 20:48:29 -04:00
Thomas Pelletier
dc20c454d7
Handle dots in keys
2013-12-10 21:51:40 +01:00
Thomas Pelletier
c743c90315
Don't allow empty intermediate tables
2013-12-10 16:23:53 +01:00
Thomas Pelletier
8081f3cc09
Don't allow tables to be redefined
2013-12-10 16:10:26 +01:00
Thomas Pelletier
23d36c08ab
Add GetDefault to TomlTree
2013-05-01 18:47:27 +02:00
Thomas Pelletier
558a227433
Run gofmt
2013-03-26 12:10:14 +01:00
Thomas Pelletier
21a8fb6ee0
Add LoadFile
2013-03-22 17:14:16 +01:00
Thomas Pelletier
2bd1eb4f21
Add tests for errors ( fixes #5 )
2013-03-22 15:23:53 +01:00
Thomas Pelletier
183bbe2aa9
Return an error instead of panicking
2013-03-22 15:03:51 +01:00
Thomas Pelletier
8783fed844
Readd source files. I need coffee now
2013-02-25 10:57:12 +01:00