public class FormalArgument
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
StringTemplate |
defaultValueST |
If they specified name="value", store the template here
|
java.lang.String |
name |
|
static int |
ONE_OR_MORE |
|
static int |
OPTIONAL |
|
static int |
REQUIRED |
|
static java.lang.String[] |
suffixes |
|
static java.util.LinkedHashMap |
UNKNOWN |
When template arguments are not available such as when the user
uses "new StringTemplate(...)", then the list of formal arguments
must be distinguished from the case where a template can specify
args and there just aren't any such as the t() template above.
|
static int |
ZERO_OR_MORE |
| Constructor | Description |
|---|---|
FormalArgument(java.lang.String name) |
|
FormalArgument(java.lang.String name,
StringTemplate defaultValueST) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object o) |
|
static java.lang.String |
getCardinalityName(int cardinality) |
|
java.lang.String |
toString() |
public static final int OPTIONAL
public static final int REQUIRED
public static final int ZERO_OR_MORE
public static final int ONE_OR_MORE
public static final java.lang.String[] suffixes
public static final java.util.LinkedHashMap UNKNOWN
public java.lang.String name
public StringTemplate defaultValueST
public FormalArgument(java.lang.String name)
public FormalArgument(java.lang.String name,
StringTemplate defaultValueST)
Copyright ? 2006-2017 Terence Parr