Commit Graph

9 Commits

Author SHA1 Message Date
Collin Smith
2511b7cfe5 Refactored ParserInput into Parser
Parser is now an abstract class
Parser requires overriding constructor to set ParserInput
Table initializes parser upon first parser(ParserInput) call
2020-12-17 17:52:50 -08:00
Collin Smith
33caecc32c Updated parser and table code generators
Changed signatures of TsvParser and renamed to ParserInput
Removed Parser#hasNext
Implemented Table#recordClass()
TableCodeGenerator generates a public constructor
2020-12-17 15:38:55 -08:00
Collin Smith
a5fd0e8b14 Made MonStatsParserImpl a concrete impl of Parser 2020-12-16 11:50:16 -08:00
Collin Smith
c82e615772 Created Parser interface and generation 2020-12-16 11:36:11 -08:00
Collin Smith
160109fdc9 Created Table#newSerializer
Created Table#newSerializer
Added default impl for MonStatsTableImpl#newSerializer
Created SchemaElement#serializerClassName
Refactored CodeGenerator#formatName to return a fq ClassName
Added null check for generated SchemaElement
Renamed CodeGenerator#generate variable to typeSpecBuilder
2020-12-16 01:12:21 -08:00
Collin Smith
f9fe8d0c63 Made MonStatsSerializerImpl a concrete class 2020-12-16 01:09:14 -08:00
Collin Smith
e603b3a1f4 Implemented Table interface as abstract class 2020-12-15 23:32:29 -08:00
Collin Smith
b578137fdc Added support for Serializer impl generation 2020-12-15 19:14:42 -08:00
Collin Smith
fa819b0b9b Committing annotation-processor v2 experimentation 2020-12-15 12:07:38 -08:00