public class CheckContextGenerator extends AbstractContextGenerator
| Constructor and Description |
|---|
CheckContextGenerator()
Creates a new context generator for generating predictive context for deciding when a constituent is complete.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getContext(java.lang.Object o) |
java.lang.String[] |
getContext(Parse[] constituents,
java.lang.String type,
int start,
int end)
Returns predictive context for deciding whether the specified constituents between the specified start and end index
can be combined to form a new constituent of the specified type.
|
public CheckContextGenerator()
public java.lang.String[] getContext(java.lang.Object o)
public java.lang.String[] getContext(Parse[] constituents, java.lang.String type, int start, int end)
constituents - The constituents which have yet to be combined into new constituents.type - The type of the new constituent proposed.start - The first constituent of the proposed constituent.end - The last constituent of the proposed constituent.Copyright © 2010 - 2019 Adobe. All Rights Reserved