public final class PatternStageCompiler extends Object implements PatternCompiler
Constructor and Description |
---|
PatternStageCompiler()
no state, so the constructor is boring.
|
Modifier and Type | Method and Description |
---|---|
Element |
any()
Method called to deliver a compiled element from a wildcard ANY.
|
Element |
bind(Node n,
int index)
Method called to deliver a compiled element from a binding occurance of a
variable Node allocated at a given index position.
|
Element |
bound(Node n,
int index)
Method called to deliver a compiled element from a bound occurance of a
variable Node allocated at a given index position.
|
static Pattern[] |
compile(PatternCompiler compiler,
Mapping map,
Triple[] source)
to compile an array of triples, compile each triple and form the corresponding
array of Patterns.
|
Element |
fixed(Node value)
Method called to deliver a compiled Element constructed from a constant Node.
|
public PatternStageCompiler()
public static Pattern[] compile(PatternCompiler compiler, Mapping map, Triple[] source)
public Element fixed(Node value)
PatternCompiler
fixed
in interface PatternCompiler
public Element bound(Node n, int index)
PatternCompiler
bound
in interface PatternCompiler
public Element bind(Node n, int index)
PatternCompiler
bind
in interface PatternCompiler
public Element any()
PatternCompiler
any
in interface PatternCompiler
Copyright ? 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP