Constructor and Description |
---|
TaskParser(String dsl)
Construct a
TaskParser without supplying the task name up front. |
TaskParser(String name,
String dsl)
Construct a
TaskParser for a task with the provided name. |
Modifier and Type | Method and Description |
---|---|
AppNode |
parse()
Parse a task definition.
|
eatApp, eatAppArgs, eatArgValue, eatDottedName, getTokens, isValidName, toData, tokenListToStringList, toLabelNode, toString
public TaskParser(String dsl)
TaskParser
without supplying the task name up front.
The task name may be embedded in the definition; for example:
myTask = filejdbc
dsl
- the task definition DSL textpublic AppNode parse()
ParseException
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.