| Package | Description |
|---|---|
| edu.nyu.jet.pat |
The Pat package encapsulates the basic pattern application
mechanism of Jet, sets of pattern/action rules which can be applied
to a document to add or modify annotations on the document. The external
form of the pattern language is described below; the classes used
to encode these patterns are summarized separately.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FinalPatternNode.eval(Document doc,
int posn,
HashMap bindings,
PatternApplication patap)
Method invoked when this node is reached during pattern matching;
records the actions to be performed.
|
abstract void |
PatternNode.eval(Document doc,
int posn,
HashMap bindings,
PatternApplication patap) |
void |
InternalPatternNode.eval(Document doc,
int posn,
HashMap bindings,
PatternApplication patap) |
void |
PatternArc.eval(Document doc,
int posn,
String tokenString,
HashMap bindings,
PatternApplication patap) |
void |
GetStartPatternElement.eval(Document doc,
int posn,
String tokenString,
HashMap bindings,
PatternApplication patap,
PatternNode node) |
void |
GetEndPatternElement.eval(Document doc,
int posn,
String tokenString,
HashMap bindings,
PatternApplication patap,
PatternNode node) |
void |
AssignmentPatternElement.eval(Document doc,
int posn,
String tokenString,
HashMap bindings,
PatternApplication patap,
PatternNode node) |
void |
UndefinedCapPatternElement.eval(Document doc,
int posn,
String tokenString,
HashMap bindings,
PatternApplication patap,
PatternNode node) |
void |
AnnotationPatternElement.eval(Document doc,
int posn,
String tokenString,
HashMap bindings,
PatternApplication patap,
PatternNode node) |
void |
TokenStringPatternElement.eval(Document doc,
int posn,
String tokenString,
HashMap bindings,
PatternApplication patap,
PatternNode node) |
abstract void |
AtomicPatternElement.eval(Document doc,
int posn,
String tokenString,
HashMap bindings,
PatternApplication patap,
PatternNode node) |
void |
NullPatternElement.eval(Document doc,
int posn,
String tokenString,
HashMap bindings,
PatternApplication patap,
PatternNode node) |
void |
IntegerPatternElement.eval(Document doc,
int posn,
String tokenString,
HashMap bindings,
PatternApplication patap,
PatternNode node) |
String |
StringExpression.evaluate(Document doc,
PatternApplication patap)
evaluates the StringExpression at the time when print or write
action is performed.
|
int |
AddFeaturesAction.perform(Document doc,
PatternApplication patap)
performs the action, adding the specified Annotation.
|
int |
PrintAction.perform(Document doc,
PatternApplication patap)
performs the "print" action, writing the message to the Console.
|
abstract int |
Action.perform(Document doc,
PatternApplication patap) |
int |
WriteAction.perform(Document doc,
PatternApplication patap)
performs the "write" action, writing the message to standard output.
|
int |
NewAnnotationAction.perform(Document doc,
PatternApplication patap)
performs the action, adding the specified Annotation.
|
Copyright © 2016 New York University. All rights reserved.