public class TaskParser extends AppParser
| Modifier and Type | Field and Description |
|---|---|
static ArgumentNode[] |
NO_ARGUMENTS |
| Constructor and Description |
|---|
TaskParser(String taskName,
String taskDefinition,
boolean inAppMode,
boolean validate)
Parse a task definition into an abstract syntax tree (AST).
|
| Modifier and Type | Method and Description |
|---|---|
TaskNode |
parse() |
String |
toString()
Show the parsing progress in the output string.
|
eatApp, eatAppArgs, eatArgValue, eatDottedName, getTokens, isValidName, toData, tokenListToStringList, toLabelNode, toStringpublic static final ArgumentNode[] NO_ARGUMENTS
public TaskParser(String taskName, String taskDefinition, boolean inAppMode, boolean validate)
taskName - the name of the tasktaskDefinition - the textual task definitioninAppMode - if true then expect apps with arguments otherwise expect app
definition referencesvalidate - if true then extra validation will be performed on the ASTCopyright © 2019 Pivotal Software, Inc.. All rights reserved.