Hit class

表示一次词典匹配的命中

Constructors

Hit()

Properties

begin int?
getter/setter pair
end int?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hitState int
getter/setter pair
matchedDictSegment DictSegment?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getBegin() int?
getEnd() int?
getMatchedDictSegment() DictSegment?
isMatch() bool
判断是否完全匹配
isPrefix() bool
判断是否是词的前缀
isUnmatch() bool
判断是否是不匹配
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setBegin(int begin) → void
setEnd(int end) → void
setMatch() → void
setMatchedDictSegment(DictSegment matchedDictSegment) → void
setPrefix() → void
setUnmatch() → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

MATCH → const int
PREFIX → const int
UNMATCH → const int