Renamed terminators

This commit is contained in:
Willem Cazander 2022-11-07 20:50:55 +01:00
parent 0886d6eac9
commit 39b66404dd
88 changed files with 1014 additions and 1011 deletions

View file

@ -3,7 +3,7 @@ package love.distributedrebirth.unicode4d;
import java.util.ArrayList;
import java.util.List;
import love.distributedrebirth.numberxd.base2t.part.T002PartBinary;
import love.distributedrebirth.numberxd.base2t.part.T002;
import love.distributedrebirth.numberxd.base2t.type.V036Teger;
import love.distributedrebirth.numberxd.base2t.type.V072Tong;
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
@ -24,16 +24,16 @@ public class Stringᶻᴰ {
public V036Teger getCodePointByIndex(int index) {
V072Tong tong = string.get(index >> 1);
if ((index & 1) == 0) {
return tong.getValue(T002PartBinary.PART_1);
return tong.getValue(T002.PART_1);
} else {
return tong.getValue(T002PartBinary.PART_2);
return tong.getValue(T002.PART_2);
}
}
public int charSize() {
int result = 0;
for (V072Tong points:string) {
CodePointCommandᶻᴰ cmd = CodePointᶻᴰ.INSTANCE.getCommand(points.getValue(T002PartBinary.PART_1));
CodePointCommandᶻᴰ cmd = CodePointᶻᴰ.INSTANCE.getCommand(points.getValue(T002.PART_1));
if (cmd == CodePointCommandᶻᴰ.START_LR) {
result++;
} else if (cmd == CodePointCommandᶻᴰ.START_RL) {