public void Build(List <Token> tokens, ref int index) { while (index < tokens.Count) { Token token = tokens[index]; if (Token.IsEnd(token)) { index++; return; } list.Add(TokenParser.BuildInstruction(tokens, ref index)); } }