public RaceParserTempData(int capacity, Allocator allocator) { this = default; if (capacity != 0) { IdentifierNumberPairs = new IdentifierNumberPairListLinkedList(capacity, allocator); Values = new ListLinkedList(capacity, sizeof(RaceTree), allocator); Names = new ListLinkedList(capacity, sizeof(RaceTree.NameAssignExpression), allocator); Aligns = new ListLinkedList(capacity, sizeof(RaceTree.AlignAssignExpression), allocator); Braves = new ListLinkedList(capacity, sizeof(RaceTree.BraveAssignExpression), allocator); Movetypes = new ListLinkedList(capacity, sizeof(RaceTree.MovetypeAssignExpression), allocator); Constis = new ListLinkedList(capacity, sizeof(RaceTree.ConstiAssignExpression), allocator); } }
public VoiceParserTempData(int capacity, int stringCapacity, Allocator allocator) { this = default; if (capacity != 0) { Values = new ListLinkedList(capacity, sizeof(VoiceTree), allocator); Powers = new ListLinkedList(capacity, sizeof(VoiceTree.PowerAssignExpression), allocator); Spots = new ListLinkedList(capacity, sizeof(VoiceTree.SpotAssignExpression), allocator); VoiceTypes = new ListLinkedList(capacity, sizeof(VoiceTree.VoiceTypeAssignExpression), allocator); Delskills = new ListLinkedList(capacity, sizeof(VoiceTree.DelskillAssignExpression), allocator); Identifiers = new IdentifierListLinkedList(capacity, allocator); Strings = new NativeStringListLinkedList(capacity, allocator); StringMemories = new NativeStringMemorySoyrceLinkedList(stringCapacity, allocator); } }
public MovetypeParserTempData(int capacity, Allocator allocator) { IdentifierNumberPairs2 = new IdentifierNumberPairListLinkedList(capacity, allocator); if (capacity != 0) { Names = new ListLinkedList(capacity, sizeof(MovetypeTree.NameAssignExpression), allocator); Helps = new ListLinkedList(capacity, sizeof(MovetypeTree.HelpAssignExpression), allocator); Constis = new ListLinkedList(capacity, sizeof(MovetypeTree.ConstiAssignExpression), allocator); Values = new ListLinkedList(capacity, sizeof(MovetypeTree), allocator); } else { Values = Names = Helps = Constis = default; } }
public ASTTypePageIndexPairListLinkedList(int capacity, Allocator allocator) { this = default; List = new ListLinkedList(capacity, sizeof(ASTTypePageIndexPair), allocator); }
public IdentifierNumberPairListLinkedList(int capacity, Allocator allocator) { this = default; List = new ListLinkedList(capacity, sizeof(IdentifierNumberPair), allocator); }
public ElementEnumerator(ref ListLinkedList list) { index = -1; Node = list.First; }
public NodeEnumerator(ref ListLinkedList list) { Node = list.First; isNotFirst = false; }