public static class GlyphTable.ChainedGlyphSequenceRule extends GlyphTable.GlyphSequenceRule
ChainedGlyphSequenceRule class implements a subclass of GlyphSequenceRule
that supports matching on a specific glyph sequence in a specific chained contextual.| Constructor and Description |
|---|
ChainedGlyphSequenceRule(GlyphTable.RuleLookup[] lookups,
int inputSequenceLength,
int[] glyphs,
int[] backtrackGlyphs,
int[] lookaheadGlyphs)
Instantiate a ChainedGlyphSequenceRule.
|
| Modifier and Type | Method and Description |
|---|---|
int[] |
getBacktrackGlyphs() |
int[] |
getLookaheadGlyphs() |
String |
toString() |
getGlyphs, getGlyphsgetInputSequenceLength, getLookups, resolveLookupReferencespublic ChainedGlyphSequenceRule(GlyphTable.RuleLookup[] lookups, int inputSequenceLength, int[] glyphs, int[] backtrackGlyphs, int[] lookaheadGlyphs)
lookups - the rule's lookupsinputSequenceLength - number of glyphs constituting input sequence (to be consumed)glyphs - the rule's input glyph sequence to match, starting with second glyph in sequencebacktrackGlyphs - the rule's backtrack glyph sequence to match, starting with first glyph in sequencelookaheadGlyphs - the rule's lookahead glyph sequence to match, starting with first glyph in sequencepublic int[] getBacktrackGlyphs()
public int[] getLookaheadGlyphs()
public String toString()
toString in class GlyphTable.GlyphSequenceRuleCopyright © 2025 Apache Software Foundation. All rights reserved.