Commit graph

165 commits

Author SHA1 Message Date
Nathan Adams
81ed5f0521 Moved CommandArgumentParseResult to its own class 2014-09-24 13:53:23 +02:00
Nathan Adams
20357723df Added command context and the ability to query arguments from it 2014-09-24 13:49:00 +02:00
Nathan Adams
d13587a4df Made every CommandNode support an executor 2014-09-24 12:04:33 +02:00
Nathan Adams
3ef22ef317 Renamed CommandBuilder to LiteralArgumentBuilder 2014-09-24 11:57:12 +02:00
Nathan Adams
9585aaf0b3 Added ArgumentValidationException as separate from illegal syntax 2014-09-24 11:30:13 +02:00
Nathan Adams
0a71730bdc Test for invalid child nodes 2014-09-22 15:34:15 +02:00
Nathan Adams
397ab17e64 When parsing nodes, return the deepest node we went into 2014-09-22 15:20:57 +02:00
Nathan Adams
8d164e4b66 Parse into nested arguments 2014-09-18 16:36:36 +02:00
Nathan Adams
a32243b704 Commands can be parsed, in a very limited way. 2014-09-18 11:48:03 +02:00
Nathan Adams
2b267a26f6 Store commands as nodes and execute them 2014-09-18 10:58:49 +02:00
Nathan Adams
4f20d02a97 Build stuff into nodes! They may not do anything, but it's node-tastic! 2014-09-17 15:30:49 +02:00
Nathan Adams
934ba3336f Added commandbuilder.then() and argumentbuilder 2014-09-17 13:00:41 +02:00
Nathan Adams
dadedbb322 Just use a regular builder 2014-09-16 14:47:19 +02:00
Nathan Adams
c73607ba36 Super simple start 2014-09-16 12:08:15 +02:00
Nathan Adams
4801ab8dc9 Initial commit 2014-09-15 12:19:14 +02:00