Lines Matching refs:from
101 InternalState getNextState(InternalState from, int currentChar) { in getNextState() argument
103 if (from == null || currentChar < 0) in getNextState()
106 int id = from.getId(); in getNextState()
116 result = defaultStateTable[from.getId()]; in getNextState()
121 void setExpression(String expr, InternalState from, InternalState to) { in setExpression() argument
122 if ((expr == null) || (from == null) || (to == null)) { in setExpression()
128 setDefaultDestination(from, to); in setExpression()
135 setRange(from, expr.charAt(i), expr.charAt(i + 2), to); in setExpression()
138 setDestination(from, expr.charAt(i), to); in setExpression()
144 private void fill(InternalState from, InternalState to) { in fill() argument
147 setDestination(from, c, to); in fill()
151 private void setDefaultDestination(InternalState from, InternalState to) { in setDefaultDestination() argument
152 Preconditions.checkNotNull(from); // Developer error if it triggers in setDefaultDestination()
154 int id = from.getId(); in setDefaultDestination()
159 defaultStateTable[from.getId()] = to; in setDefaultDestination()
162 private void setDestination(InternalState from, char chr, InternalState to) { in setDestination() argument
163 Preconditions.checkNotNull(from); // Developer error if it triggers in setDestination()
167 int id = from.getId(); in setDestination()
171 stateTable[from.getId()][chr] = to; in setDestination()
174 private void setRange(InternalState from, char start, char end, in setRange() argument
183 setDestination(from, c, to); in setRange()